blob: 31281de7ffa74f7d91018e199d914d94a9b0c38e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
t = db.indexd;
t.drop();
t.save({a: 1});
t.ensureIndex({a: 1});
assert.throws(function() {
db.indexd.$_id_.drop();
});
assert(t.drop());
// db.indexd.$_id_.remove({});
|