sort
The order in which documents should be returned.
Example
collection.find(
options = {
ascending(User::age)
},
filter = {
User::age.exists()
}
)
Content copied to clipboard
The order in which documents should be returned.
collection.find(
options = {
ascending(User::age)
},
filter = {
User::age.exists()
}
)