vibe.d beta banner
get vibe.d
0.10.1

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

Struct BulkWriteOptions

struct BulkWriteOptions ;

Fields

NameTypeDescription
bypassDocumentValidation std.typecons.Nullable!(bool)If true, allows the write to opt-out of document level validation.
comment std.typecons.Nullable!(string)Users can specify an arbitrary string to help trace the operation through the database profiler, currentOp, and logs.
ordered std.typecons.Nullable!(bool)If true, when a write fails, return without performing the remaining writes. If false, when a write fails, continue with the remaining writes, if any.
writeConcern std.typecons.Nullable!(vibe.db.mongo.collection.WriteConcern)A document that expresses the write concern of the insert command. Omit to use the default write concern.

Standards

https://github.com/mongodb/specifications/blob/525dae0aa8791e782ad9dd93e507b60c55a737bb/source/crud/crud.rst#insert-update-replace-delete-and-bulk-writes

Authors

Jan Jurzitza

Copyright

© 2022 Jan Jurzitza

License

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