public function andWhere($field, $operation, $value = null, $alias = self::DEFAULT_TABLE_ALIAS)
    {
        if (strpos($field, '.') > 0) {
            //monta os joins
            $this->fieldValue = [
                'value'     => $value,
                'operation' => $operation,
            ];
            $newAliasField = $this->associationQueryFields($field);
            $alias = $newAliasField['alias'];
            $field = $newAliasField['field'];
        }
        $this->queryBuilder->andWhere($this->makeExpression($field, $operation, $value, $alias));

        return $this;
    }
public function andWhere($field, $operation, $value = null, $alias = self::DEFAULT_TABLE_ALIAS)
    {
        if (strpos($field, '.') > 0) {
            //monta os joins
            $this->fieldValue = [
                'value'     => $value,
                'operation' => $operation,
            ];
            $newAliasField = $this->associationQueryFields($field);
            $alias = $newAliasField['alias'];
            $field = $newAliasField['field'];
        }
        $this->queryBuilder->andWhere($this->makeExpression($field, $operation, $value, $alias));

        return $this;
    }
public function andWhere ( $ field , $ operation , $ value = null , $ alias = self :: DEFAULT_TABLE_ALIAS ) { if ( strpos ( $ field , '.' ) > 0 ) { //monta os joins $ this -> fieldValue = [ 'value' => $ value , 'operation' => $ operation , ] ; $ newAliasField = $ this -> associationQueryFields ( $ field ) ; $ alias = $ newAliasField [ 'alias' ] ; $ field = $ newAliasField [ 'field' ] ; } $ this -> queryBuilder -> andWhere ( $ this -> makeExpression ( $ field , $ operation , $ value , $ alias ) ) ; return $ this ; }
Add a "and where" filter.

@param string $field
@param string $operation
@param string $value

@return $this
Add a and where filter .