This commit is contained in:
Jan Prochazka
2020-03-05 13:19:25 +01:00
parent c47711d346
commit 9ef719ec95
8 changed files with 115 additions and 36 deletions

View File

@@ -16,8 +16,15 @@ export default class TableGridDisplay extends GridDisplay {
createSelect() {
const select: Select = {
commandType: "select",
from: this.table,
selectAll: true
from: {
source: { name: this.table }
},
columns: this.table.columns.map(col => ({
expr: {
exprType: "column",
columnName: col.columnName
}
}))
};
return select;
}