Files
mongo/jstests/core/query/objid/objid2.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
131 B
JavaScript
Raw Normal View History

2009-01-26 23:28:26 -05:00
let t = db.objid2;
t.drop();
t.save({_id: 517, a: "hello"});
2009-01-26 23:28:26 -05:00
assert.eq(t.findOne().a, "hello");
assert.eq(t.findOne()._id, 517);