DeleteResult | mongodb (original) (raw)

Interface DeleteResult

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

Index

Properties

acknowledged deletedCount

Properties

acknowledged

acknowledged: boolean

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

deletedCount

deletedCount: number

The number of documents that were deleted