summaryrefslogtreecommitdiff
path: root/jstests/fm1.js
blob: bc60a3d8911bb5a62fbeea56cb845d63cd5a0003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

t = db.fm1;
t.drop();

t.insert({foo:{bar:1}})
t.find({},{foo:1}).toArray();
t.find({},{'foo.bar':1}).toArray();
t.find({},{'baz':1}).toArray();
t.find({},{'baz.qux':1}).toArray();
t.find({},{'foo.qux':1}).toArray();