protected function getRelFromConf(&$relConf, $key) {
		if (!is_array($relConf))
			$relConf = array($relConf, '_id');
		$rel = $this->getRelInstance($relConf[0],null,$key,true);
		if($this->dbsType=='sql' && $relConf[1] == '_id')
			$relConf[1] = $rel->primary;
		return $rel;
	}