vibe.d beta banner
get vibe.d
0.10.0

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

Variable FindOptions.readConcern

Specifies the read concern. Only compatible with a write stage. (e.g. $out, $merge)

struct FindOptions
{
  // ...
  std.typecons.Nullable!(vibe.db.mongo.collection.ReadConcern) readConcern ;
  // ...
}

Aggregate commands do not support the ReadConcern.Level.linearizable level.

Standards

https://github.com/mongodb/specifications/blob/7745234f93039a83ae42589a6c0cdbefcffa32fa/source/read-write-concern/read-write-concern.rst

Authors

Jan Jurzitza

Copyright

© 2022 Jan Jurzitza

License

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