Function findUsersService
-
Parameters
-
Optional
query: FilterQuery<User>
Returns QueryWithHelpers<(Document<any, BeAnObject, User> & User & IObjectWithTypegooseFunction & {
_id: ObjectId;
})[], Document<any, BeAnObject, User> & User & IObjectWithTypegooseFunction & {
_id: ObjectId;
}, BeAnObject, DocumentType<User, BeAnObject>>
Find all users in database with given query
Author
aayushchugh