public function getCursor($sql, $bindings = array())
{
return $this->db->GetCursor($sql, $bindings);
}
/** * @see QueryWriter::queryRecordWithCursor */ public function queryRecordWithCursor($type, $addSql = NULL, $bindings = array()) { $sql = $this->glueSQLCondition($addSql, NULL); $table = $this->esc($type); $sql = "SELECT {$table}.* FROM {$table} {$sql}"; return $this->adapter->getCursor($sql, $bindings); }