mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 21:36:00 +00:00
jsl grid display
This commit is contained in:
@@ -14,7 +14,12 @@ const dialect = {
|
||||
};
|
||||
|
||||
function extractColumns(columns) {
|
||||
return _.sortBy(_.values(columns), 'index')
|
||||
return _.sortBy(_.values(columns), 'index').map((col) => ({
|
||||
...col,
|
||||
columnName: col.name,
|
||||
notNull: !col.nullable,
|
||||
autoIncrement: !!col.identity,
|
||||
}));
|
||||
}
|
||||
|
||||
/** @type {import('@dbgate/types').EngineDriver} */
|
||||
|
||||
Reference in New Issue
Block a user