Correct docstring [ci skip]

This commit is contained in:
Michael S. Klishin 2012-02-12 20:39:23 +04:00
parent 94f21e7597
commit 7553925250

View file

@ -171,11 +171,11 @@
EXAMPLES:
(mgcol/find-one-by-id collection \"4ef45ab4744e9fd632640e2d\")
(mgcol/find-one-by-id collection (ObjectId. \"4ef45ab4744e9fd632640e2d\"))
;; Return only :language field.
;; Note that _id field is always returned.
(mgcol/find-one-by-id collection \"4ef45ab4744e9fd632640e2d\" [:language])
(mgcol/find-one-by-id collection (ObjectId. \"4ef45ab4744e9fd632640e2d\") [:language])
"
([^String collection id]
(find-one collection { :_id id }))