monglorious.core
-execute
(-execute uri query)
A Java-callable wrapper around 'execute'.
-executeWithConnection
(-executeWithConnection connection db query)
A Java-callable wrapper around 'execute-with-connection'.
-getConnection
(-getConnection uri)
A Java-callable wrapper around 'get-connection'.
execute
(execute connection-uri query)
(execute connection-options-or-uri db-name query)
Connects and executes a MongoDB query, using a connection map or URI
execute-with-connection
(execute-with-connection {:keys [conn db]} query)
Executes a MongoDB query given an open connection and db
get-connection
(get-connection connection-uri)
(get-connection connection-options-or-uri db-name)
Returns a connection and db object that can be reused multiple times