summaryrefslogtreecommitdiff
path: root/jstests/find7.js
blob: ca4c7d449bf320ec77d90afb350c2d82f393f3d8 (plain)
1
2
3
4
5
6
7
8
t = db.find7;
t.drop();

x = { "_id" : { "d" : 3649, "w" : "signed" }, "u" : { "3649" : 5 } };
t.insert(x );
assert.eq( x , t.findOne() , "A1" );
assert.eq( x , t.findOne( { _id : x._id } ) , "A2" );