mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
11 lines
183 B
JavaScript
11 lines
183 B
JavaScript
|
|
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({});
|