Correct Markdown syntax
This commit is contained in:
parent
d0b50f3094
commit
15e199b41b
1 changed files with 2 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ With the `SAFE` write concern, it takes roughly 1.7 second to insert 100,000 doc
|
||||||
`monger.collection` namespace provides several finder functions that try to follow MongoDB query language as closely as possible,
|
`monger.collection` namespace provides several finder functions that try to follow MongoDB query language as closely as possible,
|
||||||
even when providing shortcuts for common cases.
|
even when providing shortcuts for common cases.
|
||||||
|
|
||||||
`` clojure
|
``` clojure
|
||||||
(ns my.service.finders
|
(ns my.service.finders
|
||||||
(:require [monger.collection :as mc])
|
(:require [monger.collection :as mc])
|
||||||
(:use [monger.operators]))
|
(:use [monger.operators]))
|
||||||
|
|
@ -152,7 +152,7 @@ even when providing shortcuts for common cases.
|
||||||
|
|
||||||
;; with a query that uses operators as strings
|
;; with a query that uses operators as strings
|
||||||
(mc/find "products" { :price_in_subunits { "$gt" 4000 "$lte" 1200 } })
|
(mc/find "products" { :price_in_subunits { "$gt" 4000 "$lte" 1200 } })
|
||||||
``
|
```
|
||||||
|
|
||||||
|
|
||||||
## Powerful Query DSL
|
## Powerful Query DSL
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue