public function find($table, $condition = array(), $limit = array(), $order_by = array()) { $ret = array(); $query = QueryHelper::find($table, $condition, $limit, $order_by); if ($res = $this->exec($query)) { $ret = $this->fetch($res); } else { $e = oci_error(); trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR); } return $ret; }
public function find($table, $condition = array(), $limit = array(), $order_by = array()) { $ret = array(); $query = QueryHelper::find($this->dbcon, $table, $condition, $limit, $order_by); if ($res = $this->exec($query)) { $ret = $this->fetch($res); } else { echo mysqli_error($this->dbcon); } return $ret; }
public function find($table, $condition = array(), $limit = array(), $order_by = array()) { $query = QueryHelper::find($table, $condition, $limit, $order_by); $res = $this->exec($query); return $this->fetch($res); }