Handbook
Glossary
prepare-index ( collection -- )
Vocabulary
mongodb
.
benchmark
Inputs
collection
an
object
Outputs
None
Definition
USING:
accessors
mongodb.driver
;
IN:
mongodb.benchmark
:
prepare-index
( collection -- )
"_x_idx"
[
"x"
asc
]
key-spec
<index-spec>
t
>>unique?
ensure-index
;