-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example code problems #20
Comments
Thanks for letting us know! I will double check how it works with Postgres and we're also working on a new version at https://github.com/feathersjs/feathers-knex/tree/es6 which should land shortly and will have a verified example. If you don't mind trying that version once it is out that would be greatly appreciated. |
Yes! I will try that new version! There's another detail in order to make the example work. It's a dirty patch, I don't know how to make it right: create method doesn't return the id In file feathers-knex/lib/index.js, line 167, I have to add a |
Last message was a patch intended for the npm version ¿Where can I find the library distributed in npm? |
It isn't different we're only publishing the version transpiled from the ES6 original sources to NPM. You can get it by cloning the repository, checking out the |
Ah, now I understand. Thank you! I've done two changes on v1.2.2 that are working for me in PostgreSQL. I will try to propose them as pull requests. |
Sounds good @aldeluis. You might just want to wait a couple more days. I'm going to be putting the final touches on the new ES6 version of the Knex adapter. Even though we ❤️ PRs I'd hate for you to submit something that is going to be useless in the coming days. |
Rather than procrastinate I fixed this up. PR #22 should resolve this. |
Hi, I'm not very good programming with JS but I managed to use this extension to FeathersJS (it rocks!). In the process I've encountered some problems:
people.knex.schema.createTable()
.return()
to get it work. This is my code block:The text was updated successfully, but these errors were encountered: