vibe.d beta banner
get vibe.d
0.9.6

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

Struct IndexModel

struct IndexModel ;

Fields

NameTypeDescription
keys Bson
options IndexOptions

Properties

NameTypeDescription
name[get] string

Methods

NameDescription
add (field, direction) Adds a single field or multikey index with a direction.
add (field, type) Adds an index with a given index type. Use IndexType for a type-safe setting of the string.
withOptions (options) Sets the options member of this IndexModel.
Authors
Copyright
License