mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
9 lines
201 B
JavaScript
9 lines
201 B
JavaScript
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" );
|
|
|