MongoCollection.replaceOne

Replaces at most single document within the collection based on the filter.

struct MongoCollection
@safe
UpdateResult
replaceOne
(
T
U
)
(,,
UpdateOptions options = UpdateOptions.init
)

See Also

Meta