lucee.Componentcbmongodb.Mongo.Indexer
Mongo Indexer Maintains and Tracks Collection Indexes for MongoDB Collection Instances
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
mongoUtil
|
true
|
false
|
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
any
|
applyIndex(any dbInstance, any prop, [any properties='[runtime expression]'])
Create and apply our indexes. |
any
|
getIndexInfo(any dbInstance)
|
any
|
getIndexNames()
|
any
|
getMap()
|
string
|
getMongoUtil()
|
any
|
indexExists(any dbInstance, any name)
Returns whether the index exists. |
any
|
indexOrder(any prop)
Returns the index sort option. |
any
|
setMongoUtil(any mongoUtil)
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- id:MongoUtil@cbmongodbserializable
- trueMethod Detail |
---|
Create and apply our indexes
dbInstance
prop
properties
dbInstance
Returns whether the index exists
dbInstance
name
Returns the index sort option
prop
mongoUtil