Handbook
Glossary
find-one ( mdb-query-msg -- result/f )
Vocabulary
mongodb
.
driver
Inputs
mdb-query-msg
a query
Outputs
result/f
a single object or f
Word description
Executes the query and returns one object at most
Definition
USING:
accessors
mongodb.connection
mongodb.driver.private
sequences
;
IN:
mongodb.driver
:
find-one
( mdb-query-msg -- result/f )
fix-query-collection
1
>>return#
send-query-plain
objects>>
?first
;