vibe.d beta banner
get vibe.d

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

Variable BulkWriteOptions.bypassDocumentValidation

If true, allows the write to opt-out of document level validation.

struct BulkWriteOptions
  // ...
  std.typecons.Nullable!(bool) bypassDocumentValidation ;
  // ...

For servers < 3.2, this option is ignored and not sent as document validation is not available.

For unacknowledged writes using OP_INSERT, OP_UPDATE, or OP_DELETE, the driver MUST raise an error if the caller explicitly provides a value.


Jan Jurzitza


© 2022 Jan Jurzitza


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