alan-cooney / knex-data-api-client Goto Github PK
View Code? Open in Web Editor NEWKnex RDS Data API Client
License: MIT License
Knex RDS Data API Client
License: MIT License
https://github.com/alan-cooney/knex-data-api-client/blob/master/index.js#L55
self.client.connectionSettings.database - there's a "b" missing
Apparently this does not support knex migrations?
As PSQL is also GA for Data API, readme should also note that this works for MySQL only :)
Not sure if it's in this implementation or @jeremydaly, but when I issue bad queries (or good queries fail for some reason) I'm only getting 'timeout errors' from Bluebird and not the error itself.
Example:
let result = knex.raw('show blablbalbalbal;')
console.log(result)
TimeoutError: timeout error
at SubError (/Users/amirbenari/CodeProjects/Silo/metadata-service/node_modules/bluebird/js/release/errors.js:10:49)
at processTicksAndRejections (internal/process/next_tick.js:81:5)
It would be great to have support for postgres as well as mysql.
Hi @alan-cooney,
I don't know exactly why, but this occurs on our CI during npm install:
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/alan-cooney/data-api-client.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
I've opened a PR to replace the git link dependency of data-api-client with the version number, so it will be installed through npm and not directly downloading from git.
#4
I hope this will solve the issue.
What do you think?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.