

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following iis correct syntax of createindex? |
A. | db.COLLECTION_NAME.createIndex({KEY:1}) |
B. | COLLECTION_NAME.createIndex({KEY:1}) |
C. | db.COLLECTION_NAME.createIndex |
D. | db.createIndex({KEY:1}) |
Answer» B. COLLECTION_NAME.createIndex({KEY:1}) | |