main/core/Repository/ResourceQueryBuilder.php
public function addWhereClause($clause)
    {
        if (null === $this->whereClause) {
            $this->whereClause = "WHERE {$clause}".PHP_EOL;
        } else {
            $this->whereClause = $this->whereClause."AND {$clause}".PHP_EOL;
        }
    }
public function addWhereClause($clause)
    {
        if (null === $this->whereClause) {
            $this->whereClause = "WHERE {$clause}".PHP_EOL;
        } else {
            $this->whereClause = $this->whereClause."AND {$clause}".PHP_EOL;
        }
    }
public function addWhereClause ( $ clause ) { if ( null === $ this -> whereClause ) { $ this -> whereClause = "WHERE {$clause}" . PHP_EOL ; } else { $ this -> whereClause = $ this -> whereClause . "AND {$clause}" . PHP_EOL ; } }
Adds a statement to the query "WHERE" clause.

@param string $clause
Adds a statement to the query WHERE clause .