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.

Members

Functions

enforceWireVersionConstraints
void enforceWireVersionConstraints(T field, WireVersion serverVersion)

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

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

AggregateOptions
struct AggregateOptions

Represents available options for an aggregate call

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
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.

Meta

License

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

Authors

Sönke Ludwig