mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 20:46:01 +00:00
perspectives: fixed incremental loading
This commit is contained in:
@@ -81,7 +81,7 @@ export class PerspectiveDataLoader {
|
||||
},
|
||||
})),
|
||||
selectAll: !dataColumns,
|
||||
orderBy: dataColumns?.map(columnName => ({
|
||||
orderBy: orderBy?.map(columnName => ({
|
||||
exprType: 'column',
|
||||
columnName,
|
||||
direction: 'ASC',
|
||||
@@ -106,7 +106,7 @@ export class PerspectiveDataLoader {
|
||||
}
|
||||
|
||||
if (dbg?.enabled) {
|
||||
dbg(`LOAD DATA, table=${props.pureName}, columns=${props.dataColumns?.join(',')}, range=${props.range}}`);
|
||||
dbg(`LOAD DATA, table=${props.pureName}, columns=${props.dataColumns?.join(',')}, range=${props.range?.offset},${props.range?.limit}`);
|
||||
}
|
||||
|
||||
const response = await this.apiCall('database-connections/sql-select', {
|
||||
|
||||
Reference in New Issue
Block a user