Syntax
db.collection.createIndex( { ‘field’: TYPE } ) # Create Index db.collection.getIndexes() # Get Index Info db.collection.dropIndex( {‘field’: TYPE} ) # Drop Index
Last updated 5 years ago