import-export - work with schema (mssql)

This commit is contained in:
Jan Prochazka
2020-06-18 09:38:08 +02:00
parent 759754c437
commit a9ce93cd67
11 changed files with 73 additions and 23 deletions

View File

@@ -14,7 +14,7 @@ export default async function createImpExpScript(values) {
const connection = await getConnectionInfo({ conid: values.sourceConnectionId });
const driver = engines(connection);
const fullName = fullNameFromString(table);
const fullName = { schemaName: values.sourceSchemaName, pureName: table };
script.assign(sourceVar, 'queryReader', {
connection: {
..._.pick(connection, ['server', 'engine', 'user', 'password', 'port']),