Geospatial Index

  • Syntax

    db.collection.createIndex( { ‘field’: TYPE } )	# Create Index
    db.collection.getIndexes()		# Get Index Info
    db.collection.dropIndex( {‘field’: TYPE} )	# Drop Index

Last updated