strongloop / loopback-connector-informix

LoopBack connector for IBM Informix
Other
2 stars 2 forks source link

Add save and updateOrCreate function #35

Closed qpresley closed 7 years ago

qpresley commented 7 years ago

Description

While the SQL statement in the loopback-ibmdb module is correct for informix, the resulting output data when run against DB2 will have a column name of CNT vs Informix which will return cnt due to Informix by default not allowing delimited table and column names. To address this the function (unfortunately) has been copied and pasted into the Informix connector with the references to the count value using the correct case for Informix.

ssh24 commented 7 years ago

Need to fix some PR linter. Will do a commit.

qpresley commented 7 years ago

@loay @ssh24 Additional fixes have been added to get _replace and replaceOrCreate to run properly. If these are approved please merge and have @kjdelisle or @0candy release version 2.0.0 of loopback-connector-informix.

loay commented 7 years ago

We will have a separate pr to fix globalization.