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);
}