mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 10:16:00 +00:00
sqlite bulk insert
This commit is contained in:
@@ -24,8 +24,10 @@ class Analyser extends DatabaseAnalyser {
|
||||
'tables',
|
||||
tables.rows.map((x) => x.name)
|
||||
)) {
|
||||
const info = await this.driver.query(this.pool, `pragma table_info('${tableName}')`);
|
||||
const tableObj = tableList.find((x) => x.pureName == tableName);
|
||||
if (!tableObj) continue;
|
||||
|
||||
const info = await this.driver.query(this.pool, `pragma table_info('${tableName}')`);
|
||||
tableObj.columns = info.rows.map((col) => ({
|
||||
columnName: col.name,
|
||||
dataType: col.type,
|
||||
|
||||
Reference in New Issue
Block a user