monger.conversion documentation
as-field-selector
(as-field-selector input)
Converts values to DBObject that can be used to specify a list of document fields (including negation support)
from-db-object
(from-db-object input keywordize)
Converts given DBObject instance to a piece of Clojure data
to-db-object
(to-db-object input)
Converts given piece of Clojure data to BasicDBObject MongoDB Java driver uses
to-object-id
(to-object-id input)
Instantiates ObjectId from input unless the input itself is an ObjectId instance. In that case, returns input as is.