public function andWhere($bool = "must", array $params = []) {
        $callback = function(SubQueryBuilder $subQuery) use ($bool, $params) {
            return $this->_endChildSubQuery("and", $subQuery->toArray(), $bool, $params);
        };
        return SubQueryBuilder::make($callback);
    }
public function andWhere($bool = "must", array $params = []) {
        $callback = function(SubQueryBuilder $subQuery) use ($bool, $params) {
            return $this->_endChildSubQuery("and", $subQuery->toArray(), $bool, $params);
        };
        return SubQueryBuilder::make($callback);
    }
public function andWhere ( $ bool = "must" , array $ params = [ ] ) { $ callback = function ( SubQueryBuilder $ subQuery ) use ( $ bool , $ params ) { return $ this -> _endChildSubQuery ( "and" , $ subQuery -> toArray ( ) , $ bool , $ params ) ; } ; return SubQueryBuilder :: make ( $ callback ) ; }
Creates an AND filter subquery

@param string $bool must, should, or must_not
@param array $params extra params for and filter
@return SubQueryBuilder
Creates an AND filter subquery