EBNF 中显示的此函数的语法是:
Press CTRL+C to copy CollectionCreateIndex ::= '.createIndex(' StringLiteral ',' DocumentOrJSON ')'
CollectionCreateIndex ::= '.createIndex(' StringLiteral ',' DocumentOrJSON ')'
图 11.13 CollectionCreateIndexFunction
Press CTRL+C to copy CollectionDropIndex ::= '.dropIndex(' StringLiteral ')'
CollectionDropIndex ::= '.dropIndex(' StringLiteral ')'
图 11.14 CollectionDropIndex