vibe.db.mongo.collection

MongoCollection class

Public Imports

vibe.db.mongo.cursor
public import vibe.db.mongo.cursor;
Undocumented in source.
vibe.db.mongo.connection
public import vibe.db.mongo.connection;
Undocumented in source.
vibe.db.mongo.flags
public import vibe.db.mongo.flags;
Undocumented in source.
vibe.db.mongo.impl.index
public import vibe.db.mongo.impl.index;
Undocumented in source.
vibe.db.mongo.impl.crud
public import vibe.db.mongo.impl.crud;
Undocumented in source.

Members

Functions

deprecatedSince
DeprecatedSinceWireVersion deprecatedSince(WireVersion v)

UDA to warn when a nullable field is set and the server wire version matches the given version. (inclusive)

enforceWireVersionConstraints
void enforceWireVersionConstraints(T field, int serverVersion, string file, size_t line)

Unsets nullable fields not matching the server version as defined per UDAs.

errorBefore
ErrorBeforeWireVersion errorBefore(WireVersion v)

UDA to throw a MongoException when a nullable field is set and the server wire version doesn't match the version. (inclusive)

since
MinWireVersion since(WireVersion v)

UDA to unset a nullable field if the server wire version doesn't at least match the given version. (inclusive)

until
MaxWireVersion until(WireVersion v)

UDA to unset a nullable field if the server wire version is newer than the given version. (inclusive)

Structs

Collation
struct Collation

Collation allows users to specify language-specific rules for string comparison, such as rules for letter-case and accent marks.

CursorInitArguments
struct CursorInitArguments
DeprecatedSinceWireVersion
struct DeprecatedSinceWireVersion

UDA to warn when a nullable field is set and the server wire version matches the given version. (inclusive)

ErrorBeforeWireVersion
struct ErrorBeforeWireVersion

UDA to throw a MongoException when a nullable field is set and the server wire version doesn't match the version. (inclusive)

MaxWireVersion
struct MaxWireVersion

UDA to unset a nullable field if the server wire version is newer than the given version. (inclusive)

MinWireVersion
struct MinWireVersion

UDA to unset a nullable field if the server wire version doesn't at least match the given version. (inclusive)

MongoCollection
struct MongoCollection

Represents a single collection inside a MongoDB.

ReadConcern
struct ReadConcern

Specifies a level of isolation for read operations. For example, you can use read concern to only read data that has propagated to a majority of nodes in a replica set.

WriteConcern
struct WriteConcern

Meta

License

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

Authors

Sönke Ludwig