summaryrefslogtreecommitdiff
path: root/jstests/core/fm2.js
blob: 14fa8e06466c184b909e6c0231b8a925c9bf4049 (plain)
1
2
3
4
5
6
7
8

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

t.insert({"one": {"two": {"three": "four"}}});

x = t.find({}, {"one.two": 1})[0];
assert.eq(1, Object.keySet(x.one).length, "ks l 1");