Syntax
기본 구문
Create Index
my_collection.create_index([(‘address’, 1)])
Show Index
my_collection.index_information()
Drop Index
my_collection.drop_index([(‘address’, 1)])
Compound Index
Indexing on Embedded Document
Indexing Option
Unique Indexes
Sparse Indexes
Unique & Sparse
Hint
Last updated
Was this helpful?