Instance Methodmongokitten 7.9.5Meow

    deleteAll(where:writeConcern:)

    Non type-checked API that deletes all entities in this collection matching the filter parameter.

    MeowCollection.swift:168
    @discardableResult func deleteAll(where filter: Document, writeConcern: WriteConcern? = nil) async throws -> DeleteReply

    Returns

    A DeleteReply containing information about the (partial) success of this query

    try await users.deleteAll(where: "age" < 18)

    Other members in extension

    Instance members