public function where($condition, $equality = null, $value = null) {
		if( $equality !== null ) {
			if( $value === null ) {
				$value = $equality;
				$equality = is_array($value) ? 'IN' : '=';
			}
			$condition = $this->escapeIdentifier($condition) . ' ' . $equality . ' ' . (is_array($value) ?
					'(' . $this->sqlAdapter->formatValueList($value) . ')' :
					$this->escapeValue(is_object($value) ? id($value) : $value));
		}
		$where = $this->get('where', array());
		$where[] = $condition;
		return $this->sget('where', $where);
	}