src/PicORM/QueryBuilder.php
public function where($field, $comparisonOperator, $value, $booleanOperator = 'AND')
    {
        // first where value, need to override operator
        if (count($this->_where) == 0) {
            $booleanOperator = "WHERE";
        }

        // create and store where
        $this->_where[] = sprintf("%s %s %s %s", $booleanOperator, $field, $comparisonOperator, $value);

        return $this;
    }
public function where($field, $comparisonOperator, $value, $booleanOperator = 'AND')
    {
        // first where value, need to override operator
        if (count($this->_where) == 0) {
            $booleanOperator = "WHERE";
        }

        // create and store where
        $this->_where[] = sprintf("%s %s %s %s", $booleanOperator, $field, $comparisonOperator, $value);

        return $this;
    }
Adding WHERE clause (default with AND)

@param        $field
@param        $comparisonOperator
@param        $value
@param string $booleanOperator (AND|OR)

@return $this