Documentation
¶
Index ¶
- type Cursor
- type ICursor
- type IRepo
- type Indexes
- func (i *Indexes) GetKey() bson.D
- func (i *Indexes) GetName() string
- func (i *Indexes) GetPartialExpression() bson.D
- func (i *Indexes) IsCustomCollationEnabled() bool
- func (i *Indexes) IsGeoSpatial() bool
- func (i *Indexes) IsSparse() bool
- func (i *Indexes) IsTTL() bool
- func (i *Indexes) IsText() bool
- func (i *Indexes) NotSupported() error
- type Repo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRepo ¶
type Indexes ¶
type Indexes struct {
Name string `bson:"name"`
TwoDSphereIndexVersion interface{} `bson:"2dsphereIndexVersion"`
Key bson.D `bson:"key"`
PartialFilterExpression bson.D `bson:"partialFilterExpression"`
Sparse bool `bson:"sparse"`
Weights interface{} `bson:"weights"`
Collation interface{} `bson:"collation"`
ExpireAfterSeconds interface{} `bson:"expireAfterSeconds"`
}
func (*Indexes) GetPartialExpression ¶
func (*Indexes) IsCustomCollationEnabled ¶
func (*Indexes) IsGeoSpatial ¶
func (*Indexes) NotSupported ¶
Click to show internal directories.
Click to hide internal directories.