• It deletes all the tickets that match the query

    Author

    aayushchugh

    Parameters

    • query: FilterQuery<Ticket>

      filter which will be used to delete tickets from database

    Returns QueryWithHelpers<DeleteResult, Document<any, BeAnObject, Ticket> & Ticket & IObjectWithTypegooseFunction & {
        _id: ObjectId;
    }, BeAnObject, DocumentType<Ticket, BeAnObject>>

Generated using TypeDoc