This commit is contained in:
Michael S. Klishin 2011-09-09 06:59:34 +04:00
parent 60e93b4275
commit 2ab84f2593

View file

@ -105,7 +105,10 @@
(let [did "b38b357f5014a3250d813a16376ca2ff4837e8e1"
nested (doto (BasicDBObject.)
(.put "int" 101)
(.put "dblist" (doto (BasicDBList.) (.put "0" 0) (.put "1" 1))) (.put "list" (ArrayList. ["red" "green" "blue"])))
(.put "dblist" (doto (BasicDBList.)
(.put "0" 0)
(.put "1" 1)))
(.put "list" (ArrayList. ["red" "green" "blue"])))
input (doto (BasicDBObject.)
(.put "_id" did)
(.put "nested" nested))