jstests/noPassthroughWithMongod/sbe_agg_pushdown.js
// used to execute the pushed down query.
used to execute the pushed down query.
used to execute the pushed down query .
function assertPushdownQueryExecMode(pipeline, expectedExplainVersion) {
    assert(expectedExplainVersion === "1" || expectedExplainVersion === "2");
    const actualExplainVersion = coll.explain().aggregate(pipeline).explainVersion;
    assert.eq(actualExplainVersion, expectedExplainVersion);
}
function assertPushdownQueryExecMode ( pipeline , expectedExplainVersion ) { assert ( expectedExplainVersion === "1" || expectedExplainVersion === "2" ) ; const actualExplainVersion = coll . explain ( ) . aggregate ( pipeline ) . explainVersion ; assert . eq ( actualExplainVersion , expectedExplainVersion ) ; }
used to execute the pushed down query.
used to execute the pushed down query .