mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 07:56:01 +00:00
sqlgen
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user