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 ['', []];
	}