blob: 4ee06541b81f60337a4cc0f8ad8f16fa00765f76 (
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.ensureIndex({i: 1});
doTest();
|