summaryrefslogtreecommitdiff
path: root/jstests/indexd.js
blob: 33246ad98120afb14098b2437afaa3511354b6d5 (plain)
1
2
3
4
5
6
7
8
9
10

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({});