public function save() { if ($this->_record) { return RExecutor::instance($this)->update(); } else { return RExecutor::instance($this)->insert(); } }
public function findOneBySql($statement, $parameters = array()) { return RExecutor::instance($this->_record)->findBySql($statement, $parameters, false); }