This DFRef ctor was removed

This commit is contained in:
Michael Klishin 2015-02-21 12:20:06 +03:00
parent e7755b3fc5
commit 25c1c56fc9

View file

@ -102,7 +102,7 @@
coll2 "owners"
oid (ObjectId.)
joe (mc/insert db coll2 {:name "Joe" :_id oid})
dbref (DBRef. db coll2 oid)]
dbref (DBRef. coll2 oid)]
(mc/insert db coll1 {:type "pentagon" :owner dbref})
(let [fetched (mc/find-one-as-map db coll1 {:type "pentagon"})
fo (:owner fetched)]