MongoDbIndex

Index definition for MongoDB.

Description

The MongoDbIndex class allows you to create an index for MongoDB.

Constructors

Creates a new instance of the index.

MongoDbIndex(keys: Any, options: Any = None)

Fields

keys

Index keys (fields)

keys: Any

options

Index options

options: Any