ClientDeleteOneModel | mongodb (original) (raw)
Optional
collation
collation?: CollationOptions
Specifies a collation.
filter
The filter used to determine if a document should be deleted. For a deleteOne operation, the first match is removed.
Optional
hint
hint?: Hint
The index to use. If specified, then the query system will only consider plans using the hinted index.
name
name: "deleteOne"
namespace
namespace: string
The namespace for the write.
A namespace is a combination of the database name and the name of the collection: <database-name>.<collection>
. All documents belong to a namespace.
See
https://www.mongodb.com/docs/manual/reference/limits/#std-label-faq-dev-namespace