Module mongodm::index[][src]

Expand description

Indexes are used for efficient mongo queries.

Structs

Index

Specify field to be used for indexing and options.

Indexes

Collection of indexes. Provides function to build database commands.

Enums

IndexOption

Option to be used at index creation.

SortOrder

Index sort order (useful for compound indexes).

Functions

sync_indexes

Synchronize backend mongo collection for a given CollectionConfig.