protected function buildWhere($default=null) {
		$r = $this->processConditions($this->where, 'and', false, $default!==null ? $default:$this->getDefaultTable());
		if($r[0])
			return ["\n".'WHERE '.$r[0], $r[1]];
		else
			return ['', []];
	}
protected function buildWhere($default=null) {
		$r = $this->processConditions($this->where, 'and', false, $default!==null ? $default:$this->getDefaultTable());
		if($r[0])
			return ["\n".'WHERE '.$r[0], $r[1]];
		else
			return ['', []];
	}
protected function buildWhere ( $ default = null ) { $ r = $ this -> processConditions ( $ this -> where , 'and' , false , $ default !== null ? $ default : $ this -> getDefaultTable ( ) ) ; if ( $ r [ 0 ] ) return [ "\n" . 'WHERE ' . $ r [ 0 ] , $ r [ 1 ] ] ; else return [ '' , [ ] ] ; }
Build the WHERE conditions.
@param  string $default
@return array  1st element is the SQL, 2nd is the parameters.
Build the WHERE conditions .