mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-39663 change dropIndex("*") to dropIndexes("*") to drop multiple indexes
This commit is contained in:
parent
3e7b98708d
commit
36edb90af0
@ -29,5 +29,5 @@ assert.eq(num - 1, t.getIndexKeys().length, "B0");
|
||||
t.ensureIndex({z: 1});
|
||||
assert.eq(num, t.getIndexKeys().length, "B1");
|
||||
|
||||
t.dropIndex("*");
|
||||
t.dropIndexes("*");
|
||||
assert.eq(1, t.getIndexKeys().length, "C1");
|
||||
|
Loading…
Reference in New Issue
Block a user