Handbook
Glossary
drop-index ( collection name -- )
Vocabulary
mongodb
.
driver
Inputs
collection
a collection
name
an index name
Outputs
None
Word description
drops the specified index from the collection
Definition
USING:
kernel
mongodb.cmd
mongodb.connection
;
IN:
mongodb.driver
:
drop-index
( collection name -- )
[
delete-index-cmd
make-cmd
]
2dip
[
"deleteIndexes"
set-cmd-opt
]
[
"index"
set-cmd-opt
]
bi*
send-cmd
drop
;