findOneAndDelete(where:)

    Deletes a single document based on the query, returning the deleted document.

    Collection+FindAndModify.swift:38
    func findOneAndDelete(where query: Document) -> FindAndModifyBuilder

    Parameters

    query

    The selection criteria for the deletion.

    Returns

    A FindAndModifyBuilder to further configure the operation.

    Other members in extension

    Instance members