• Find all users in database with given query

    Author

    aayushchugh

    Parameters

    • Optional query: FilterQuery<User>

      this is filter which will be used to find the user

    Returns QueryWithHelpers<(Document<any, BeAnObject, User> & User & IObjectWithTypegooseFunction & {
        _id: ObjectId;
    })[], Document<any, BeAnObject, User> & User & IObjectWithTypegooseFunction & {
        _id: ObjectId;
    }, BeAnObject, DocumentType<User, BeAnObject>>

Generated using TypeDoc