mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-28 01:25:39 -05:00
@@ -295,6 +295,11 @@ class DataResourceTable extends GridTableBase<any> {
|
||||
public convertData(set: ResultSetSummary): Promise<void> {
|
||||
return this._gridDataProvider.convertAllData(set);
|
||||
}
|
||||
|
||||
public updateResult(resultSet: ResultSetSummary): void {
|
||||
super.updateResult(resultSet);
|
||||
this._gridDataProvider.updateResultSet(resultSet);
|
||||
}
|
||||
}
|
||||
|
||||
export class DataResourceDataProvider implements IGridDataProvider {
|
||||
@@ -372,6 +377,10 @@ export class DataResourceDataProvider implements IGridDataProvider {
|
||||
});
|
||||
}
|
||||
|
||||
public updateResultSet(resultSet: ResultSetSummary): void {
|
||||
this._resultSet = resultSet;
|
||||
}
|
||||
|
||||
public async convertAllData(result: ResultSetSummary): Promise<void> {
|
||||
// Querying 100 rows at a time. Querying large amount of rows will be slow and
|
||||
// affect table rendering since each time the user scrolls, getRowData is called.
|
||||
|
||||
Reference in New Issue
Block a user