Return type of monger.conversion/to-db-object is always the same, hint it

This commit is contained in:
Michael S. Klishin 2011-12-31 06:44:34 +04:00
parent 68135eebb4
commit 3c813132d8

View file

@ -28,7 +28,7 @@
[org.bson.types ObjectId]))
(defprotocol ConvertToDBObject
(to-db-object [input] "Converts given piece of Clojure data to BasicDBObject MongoDB Java driver uses"))
(^DBObject to-db-object [input] "Converts given piece of Clojure data to BasicDBObject MongoDB Java driver uses"))
(extend-protocol ConvertToDBObject
nil