mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
7 lines
239 B
JavaScript
7 lines
239 B
JavaScript
|
t = db.jstests_in3;
|
||
|
|
||
|
t.drop();
|
||
|
t.ensureIndex( {i:1} );
|
||
|
assert.eq( [ [ {i:3}, {i:3} ] ], t.find( {i:{$in:[3]}} ).explain().indexBounds );
|
||
|
assert.eq( [ [ {i:3}, {i:3} ], [ {i:6}, {i:6} ] ], t.find( {i:{$in:[3,6]}} ).explain().indexBounds );
|