vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Struct WriteConcern

struct WriteConcern ;

Fields

NameTypeDescription
journal std.typecons.Nullable!(bool)If true, wait for the the write operation to get committed to the
w std.typecons.Nullable!(vibe.data.bson.Bson)When an integer, specifies the number of nodes that should acknowledge the write and MUST be greater than or equal to 0.
wtimeoutMS std.typecons.Nullable!(long)If provided, and the write concern is not satisfied within the specified timeout (in milliseconds), the server will return an error for the operation.

See Also

https://docs.mongodb.com/manual/reference/write-concern/

Authors

Sönke Ludwig

Copyright

© 2012-2016 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.