mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 03:45:59 +00:00
feat: add createFirebirdInsertStream with datetime fields transform
This commit is contained in:
@@ -4,7 +4,7 @@ const stream = require('stream');
|
||||
const driverBase = require('../frontend/driver');
|
||||
const Analyser = require('./Analyser');
|
||||
const Firebird = require('node-firebird');
|
||||
const { normalizeRow } = require('./helpers');
|
||||
const { normalizeRow, createFirebirdInsertStream } = require('./helpers');
|
||||
const { getLogger, extractErrorLogData, createBulkInsertStreamBase } = require('dbgate-tools');
|
||||
const sql = require('./sql');
|
||||
|
||||
@@ -151,7 +151,7 @@ const driver = {
|
||||
},
|
||||
|
||||
async writeTable(dbhan, name, options) {
|
||||
return createBulkInsertStreamBase(this, stream, dbhan, name, options);
|
||||
return createFirebirdInsertStream(this, stream, dbhan, name, options);
|
||||
},
|
||||
|
||||
async getVersion(dbhan) {
|
||||
|
||||
Reference in New Issue
Block a user