Documentation Home
X DevAPI User Guide
Download this Manual

X DevAPI User Guide  /  CRUD EBNF Definitions  /  Collection Index Management Functions

11.4 Collection Index Management Functions

Collection.createIndex() Function

The syntax for this function shown in EBNF is:

CollectionCreateIndex
    ::= '.createIndex(' StringLiteral ',' DocumentOrJSON ')'

Figure 11.13 CollectionCreateIndexFunction

Content shows the syntax in EBNF form as described in the preceding text.

CollectionDropIndex

The syntax for this function shown in EBNF is:

CollectionDropIndex
    ::= '.dropIndex(' StringLiteral ')'

Figure 11.14 CollectionDropIndex

Content shows the syntax in EBNF form as described in the preceding text.


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.