-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
solvedThis issue has been resolved/answered.This issue has been resolved/answered.
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.
Metadata
Metadata
Assignees
Labels
solvedThis issue has been resolved/answered.This issue has been resolved/answered.