diff options
author | Jason Rassi <rassi@10gen.com> | 2015-06-08 08:22:33 -0400 |
---|---|---|
committer | Jason Rassi <rassi@10gen.com> | 2015-06-08 08:22:33 -0400 |
commit | 36db6b2ac5f7cf82d9764a40189b53b20d950a27 (patch) | |
tree | 19bbb236a4a5e0ecc80ccf02363cfa7fa3e63323 /jstests/noPassthrough/ttl_partial_index.js | |
parent | 0e2ba5e2b16b11038940350ca8676ebc1b99698b (diff) | |
download | mongo-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.js | 2 |
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})); |