core
core copied to clipboard
operators like `getOne` are not mapping model names to db field names
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).