Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(create): last object when auto-increment key
Fix the criteria passed to the `findOne()` when getting the last object if the schema has an auto-increment PK. The result of the previous query is an array containing the desired object, but prior to this commit we were looking for the `seq` property on the array, not the inner object.
- Loading branch information