Interface CollectionDeleteOneResult

Represents the result of a delete command.

Field

deletedCount - The number of deleted documents. Can be either 0 or 1.

See

Collection.deleteOne

interface CollectionDeleteOneResult {
    deletedCount: 0 | 1;
}

Properties

Properties

deletedCount: 0 | 1

The number of deleted documents.