mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 13:06:01 +00:00
datagrid: open real query in case of error
This commit is contained in:
@@ -710,6 +710,13 @@ export abstract class GridDisplay {
|
||||
// return sql;
|
||||
}
|
||||
|
||||
getPageQueryText(offset: number, count: number) {
|
||||
const select = this.getPageQuery(offset, count);
|
||||
const sql = treeToSql(this.driver, select, dumpSqlSelect);
|
||||
return sql;
|
||||
}
|
||||
|
||||
|
||||
getExportQuery(postprocessSelect = null) {
|
||||
const select = this.createSelect({ isExport: true });
|
||||
if (!select) return null;
|
||||
|
||||
Reference in New Issue
Block a user