Skip to content
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

operators like getOne are not mapping model names to db field names #175

Open
etsuo opened this issue Apr 30, 2018 · 0 comments
Open

operators like getOne are not mapping model names to db field names #175

etsuo opened this issue Apr 30, 2018 · 0 comments

Comments

@etsuo
Copy link
Member

etsuo commented Apr 30, 2018

For example if a model has a property userId that's decorated @Db('uid'), you have to model.getOne(uid: 123) rather than model.getOne(userId: 123).

@etsuo etsuo added this to the next milestone Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant