Index — Documentation by YARD 0.9.37 (original) (raw)
Module: Mongo::Index
Defined in:
lib/mongo/index.rb,
lib/mongo/index/view.rb
Overview
Contains constants for indexing purposes.
Defined Under Namespace
Classes: View
Constant Summarycollapse
ALL =
Wildcard constant for all.
'*'.freeze
ASCENDING =
Specify ascending order for an index.
1
DESCENDING =
Specify descending order for an index.
-1
GEO2D =
'2d'.freeze
GEO2DSPHERE =
Specify a 2d sphere Geo index.
'2dsphere'.freeze
GEOHAYSTACK =
Specify a geoHaystack index.
'geoHaystack'.freeze
TEXT =
'text'.freeze
HASHED =
'hashed'.freeze
COLLECTION =
Constant for the indexes collection.
'system.indexes'.freeze