Function MongoCollection.updateOne
Updates at most single document within the collection based on the filter.
UpdateResult updateOne(T, U)
(
T filter,
U replacement,
UpdateOptions options = UpdateOptions .init
) @safe;
See Also
Standards
https://www.mongodb.com/docs/manual/reference/command/update/