blob: ab8322cfe0a00e27564428adc777ed019a311c5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
t = db.jstests_in6;
t.drop();
t.save({});
function doTest() {
assert.eq.automsg("1", "t.count( {i:null} )");
assert.eq.automsg("1", "t.count( {i:{$in:[null]}} )");
}
doTest();
t.createIndex({i: 1});
doTest();
|