createIndex
Deprecated
Use defaultCollection.createIndex()
Replace with
defaultCollection.createIndex(name, index)
Content copied to clipboard
Add an index to the default collection.
Parameters
name
index name
index
index description
Throws
on failure
Deprecated
Use defaultCollection.createIndex()
Replace with
defaultCollection.createIndex(name, config)
Content copied to clipboard
Add an index to the default collection.
Parameters
name
index name
config
index configuration
Throws
on failure
Deprecated
Use defaultCollection.createIndex()
Replace with
defaultCollection.createIndex(name, index)
Content copied to clipboard
Deprecated
Use defaultCollection.createIndex()
Replace with
defaultCollection.createIndex(name, config)
Content copied to clipboard
Deprecated
Use defaultCollection.createIndex()
Replace with
defaultCollection.createIndex(name, index)
Content copied to clipboard
Deprecated
Use defaultCollection.createIndex()
Replace with
defaultCollection.createIndex(name, config)
Content copied to clipboard