Interface DeleteOneResult

Represents the result of a delete command.

Field

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

See

Collection.deleteOne

interface DeleteOneResult {
    deletedCount: 0 | 1;
}

Properties

Properties

deletedCount: 0 | 1

The number of deleted documents.