Correct docstring [ci skip]
This commit is contained in:
parent
94f21e7597
commit
7553925250
1 changed files with 2 additions and 2 deletions
|
|
@ -171,11 +171,11 @@
|
||||||
|
|
||||||
EXAMPLES:
|
EXAMPLES:
|
||||||
|
|
||||||
(mgcol/find-one-by-id collection \"4ef45ab4744e9fd632640e2d\")
|
(mgcol/find-one-by-id collection (ObjectId. \"4ef45ab4744e9fd632640e2d\"))
|
||||||
|
|
||||||
;; Return only :language field.
|
;; Return only :language field.
|
||||||
;; Note that _id field is always returned.
|
;; 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]
|
([^String collection id]
|
||||||
(find-one collection { :_id id }))
|
(find-one collection { :_id id }))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue