summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/ttl_partial_index.js
diff options
context:
space:
mode:
authorJason Rassi <rassi@10gen.com>2015-06-08 08:22:33 -0400
committerJason Rassi <rassi@10gen.com>2015-06-08 08:22:33 -0400
commit36db6b2ac5f7cf82d9764a40189b53b20d950a27 (patch)
tree19bbb236a4a5e0ecc80ccf02363cfa7fa3e63323 /jstests/noPassthrough/ttl_partial_index.js
parent0e2ba5e2b16b11038940350ca8676ebc1b99698b (diff)
downloadmongo-36db6b2ac5f7cf82d9764a40189b53b20d950a27.tar.gz
SERVER-17660 Rename index option "filter" to "partialFilterExpression"
Diffstat (limited to 'jstests/noPassthrough/ttl_partial_index.js')
-rw-r--r--jstests/noPassthrough/ttl_partial_index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/ttl_partial_index.js b/jstests/noPassthrough/ttl_partial_index.js
index 71391b5efc6..65e5fadc7d4 100644
--- a/jstests/noPassthrough/ttl_partial_index.js
+++ b/jstests/noPassthrough/ttl_partial_index.js
@@ -9,7 +9,7 @@
// Create TTL partial index.
assert.commandWorked(coll.ensureIndex({x: 1}, {expireAfterSeconds: 0,
- filter: {z: {$exists: true}}}));
+ partialFilterExpression: {z: {$exists: true}}}));
var now = new Date();
assert.writeOK(coll.insert({x: now, z: 2}));