Return type of monger.conversion/to-db-object is always the same, hint it
This commit is contained in:
parent
68135eebb4
commit
3c813132d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue