diff options
Diffstat (limited to 'jstests/core/ore.js')
-rw-r--r-- | jstests/core/ore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/ore.js b/jstests/core/ore.js index 959f43f5101..756db6215c5 100644 --- a/jstests/core/ore.js +++ b/jstests/core/ore.js @@ -4,8 +4,8 @@ t = db.jstests_ore; t.drop(); -t.ensureIndex({a: -1}); -t.ensureIndex({b: 1}); +t.createIndex({a: -1}); +t.createIndex({b: 1}); t.save({a: 1, b: 1}); t.save({a: 2, b: 1}); |