This utility was very useful -- thanks! Regarding the pull request: When I used the package, my use case had tables with names that weren't all lower case. Your SQL files needed to append quotes to the query. (I haven't tested what happens with lowercase names but I suspect it still works.) Adding the quotes fixed my problems.
Regarding the dependencies, the knex version on the original distribution was having authentication problems with pg. Updating a few dependencies seemed to resolve the issues. indexBy became keyBy. My testing wasn't thorough and I was trying to hack together a fix, but hopefully this pull request could help others who come across this package. Thanks again.
Edit: Added a callback to close the connections made by knex so binaries using this utility can exit properly.
This utility was very useful -- thanks! Regarding the pull request: When I used the package, my use case had tables with names that weren't all lower case. Your SQL files needed to append quotes to the query. (I haven't tested what happens with lowercase names but I suspect it still works.) Adding the quotes fixed my problems.
Regarding the dependencies, the knex version on the original distribution was having authentication problems with pg. Updating a few dependencies seemed to resolve the issues. indexBy became keyBy. My testing wasn't thorough and I was trying to hack together a fix, but hopefully this pull request could help others who come across this package. Thanks again.
Edit: Added a callback to close the connections made by knex so binaries using this utility can exit properly.