Handbook
Glossary
drop-collection ( name -- )
Vocabulary
mongodb
.
driver
Inputs
name
a collection
Outputs
None
Word description
removes the collection and all objects in it from the database
Definition
USING:
kernel
mongodb.cmd
mongodb.connection
;
IN:
mongodb.driver
:
drop-collection
( name -- )
[
drop-cmd
make-cmd
]
dip
"drop"
set-cmd-opt
send-cmd
drop
;