vibe.d beta banner
get vibe.d
0.10.1

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

Jan Jurzitza

Copyright

© 2020-2022 Jan Jurzitza

License

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