Releases: OpenFn/language-mysql
v1.2.0
v1.1.2
887e8c9 patch version bump
bbd27d2 newer language-common
e990a33 add ast, update language-common
299fa88 Merge pull request #6 from OpenFn/dependabot/npm_and_yarn/browserslist-4.16.6
6915990 Merge pull request #5 from OpenFn/dependabot/npm_and_yarn/lodash-4.17.21
3c0aafb Bump browserslist from 4.16.3 to 4.16.6
3f37825 Bump lodash from 4.17.20 to 4.17.21
Update docs and dependencies
Updating documentation (and readme), check dependency to language-common
and updating whole package.json
as well.
Expose full query function from node mysql
Allow all configurations to be passed to the mysql
package using the "third form": https://www.npmjs.com/package/mysql#performing-queries
The callback is handled by the adaptor, still, and subsequent callbacks can be performed in subsequent operations.
fixed tests
v0.3.1 cleanup adaptor
added upsert(table, fields)
note that this is a full upsert, so all values must be present in the source data
new sql generation module
v0.2.0 update sql generation package
better logs
v0.1.1 Merge branch 'master' of github.com:OpenFn/language-mysql
Initial release
sqlString
takes a function that returns your SQL query.
insert
takes a table name and an object with key:value pairs—works with the fields(...)
helper function.