summaryrefslogtreecommitdiff
path: root/jstests/core/objid3.js
blob: 12d45530e52cf0248044ec05188f23f39ed2e0c5 (plain)
1
2
3
4
5
6
7
8
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;
}