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

t.save( { a : "bob" , _id : 517 } );
for ( var k in t.findOne() ){
    assert.eq( k , "_id" , "keys out of order" );
    break;
}