Interface DeleteResult

interface DeleteResult {
    acknowledged: boolean;
    deletedCount: number;
}

Properties

acknowledged: boolean

Indicates whether this write result was acknowledged. If not, then all other members of this result will be undefined.

deletedCount: number

The number of documents that were deleted