diff options
Diffstat (limited to 'jstests/multi.js')
-rw-r--r-- | jstests/multi.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/multi.js b/jstests/multi.js new file mode 100644 index 00000000000..aec41145aa2 --- /dev/null +++ b/jstests/multi.js @@ -0,0 +1,6 @@ +t = db.jstests_multi; +t.drop(); + +t.ensureIndex( { a: 1 } ); +t.save( { a: [ 1, 2 ] } ); +assert.eq( 1, t.find( { a: { $gt: 0 } } ).count() ); |