Handbook
Glossary
ensure-collection ( name -- )
Vocabulary
mongodb
.
driver
Inputs
name
a collection; e.g. mycollection
Outputs
None
Word description
ensures that the collection exists in the database
Definition
USING:
kernel
mongodb.driver.private
;
IN:
mongodb.driver
:
ensure-collection
( name -- )
check-collection
drop
;