vibe.d beta banner
get vibe.d
0.10.0

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

Variable MongoClientSettings.safe

Automatically check for errors when operating on collections and throw a MongoDBException, vibe,db,mongo,connection in case of errors.

class MongoClientSettings
{
  // ...
  bool safe ;
  // ...
}

Automatically set if either: * the "w" (write concern) parameter is set * the "wTimeoutMS" parameter is set * journal is true

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.