mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 00:06:01 +00:00
editable connection
This commit is contained in:
@@ -1119,6 +1119,8 @@
|
|||||||
column,
|
column,
|
||||||
value: rowData && rowData[column],
|
value: rowData && rowData[column],
|
||||||
engine: display?.driver,
|
engine: display?.driver,
|
||||||
|
condition: display?.getChangeSetCondition(rowData),
|
||||||
|
insertedRowIndex: grider?.getInsertedRowIndex(row),
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
.filter(x => x.column);
|
.filter(x => x.column);
|
||||||
|
|||||||
@@ -36,16 +36,19 @@
|
|||||||
export let connection;
|
export let connection;
|
||||||
export let tabid;
|
export let tabid;
|
||||||
export let conid;
|
export let conid;
|
||||||
|
export let connectionStore = undefined;
|
||||||
|
|
||||||
let isTesting;
|
let isTesting;
|
||||||
let sqlConnectResult;
|
let sqlConnectResult;
|
||||||
|
|
||||||
const values = writable(
|
const values =
|
||||||
connection || {
|
connectionStore ||
|
||||||
server: getCurrentConfig().isDocker ? 'dockerhost' : 'localhost',
|
writable(
|
||||||
engine: '',
|
connection || {
|
||||||
}
|
server: getCurrentConfig().isDocker ? 'dockerhost' : 'localhost',
|
||||||
);
|
engine: '',
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
// $: console.log('ConnectionTab.$values', $values);
|
// $: console.log('ConnectionTab.$values', $values);
|
||||||
// $: console.log('ConnectionTab.driver', driver);
|
// $: console.log('ConnectionTab.driver', driver);
|
||||||
|
|||||||
Reference in New Issue
Block a user