Handbook
Glossary
mdb-open ( mdb -- mdb-connection )
Vocabulary
mongodb
.
connection
Inputs
mdb
an
object
Outputs
mdb-connection
an
object
Definition
USING:
accessors
continuations
kernel
mongodb.connection.private
;
IN:
mongodb.connection
:
mdb-open
( mdb -- mdb-connection )
clone
[
verify-nodes
]
[
<mdb-connection>
]
[
]
tri
master-node
[
open-connection
[
authenticate-connection
]
keep
]
[
drop
nip
address>>
"Could not open connection to mongod"
mongod-connection-error
]
recover
;