Open
Description
Is your feature request related to a problem? Please describe.
Currently is not possible to use chainable methods to compose a query with a cursor.
Describe the solution you'd like
UserModel.find()
.where({ active: true })
.where({ deletedAt: {$ne: null })
.paginate()
Describe alternatives you've considered
While it is possible to rewrite the query like
UserModel.paginate({ active: true, deletedAt: { $ne: null } })
If I have QueryHelpers it wouldn't work:
UserModel.find().whereActive().paginate(...)
Additional context
I think there is none.