core icon indicating copy to clipboard operation
core copied to clipboard

operators like `getOne` are not mapping model names to db field names

Open etsuo opened this issue 8 years ago • 0 comments

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 avatar Apr 30 '18 20:04 etsuo