文件首頁
X DevAPI 使用者指南
下載本手冊
PDF (美式信紙) - 1.4Mb
PDF (A4) - 1.4Mb


X DevAPI 使用者指南  /  CRUD EBNF 定義  /  集合索引管理函數

11.4 集合索引管理函數

Collection.createIndex() 函數

此函數的語法在 EBNF 中顯示為

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

圖 11.13 CollectionCreateIndexFunction

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

CollectionDropIndex

此函數的語法在 EBNF 中顯示為

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

圖 11.14 CollectionDropIndex

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