mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 21:06:00 +00:00
fix
This commit is contained in:
@@ -11,9 +11,11 @@ const dialect = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function extractColumns(fields) {
|
function extractColumns(fields) {
|
||||||
|
if (fields)
|
||||||
return fields.map((col) => ({
|
return fields.map((col) => ({
|
||||||
columnName: col.name,
|
columnName: col.name,
|
||||||
}));
|
}));
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @type {import('@dbgate/types').EngineDriver} */
|
/** @type {import('@dbgate/types').EngineDriver} */
|
||||||
|
|||||||
Reference in New Issue
Block a user