mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 05:36:01 +00:00
supportsTransactions driver parameter
This commit is contained in:
@@ -142,6 +142,7 @@ const driver = {
|
||||
title: 'Microsoft SQL Server',
|
||||
defaultPort: 1433,
|
||||
defaultAuthTypeName: 'tedious',
|
||||
supportsTransactions: true,
|
||||
// databaseUrlPlaceholder: 'e.g. server=localhost&authentication.type=default&authentication.type.user=myuser&authentication.type.password=pwd&options.database=mydb',
|
||||
|
||||
getNewObjectTemplates() {
|
||||
|
||||
@@ -120,6 +120,7 @@ const mysqlDriverBase = {
|
||||
authTypeLabel: 'Connection mode',
|
||||
defaultAuthTypeName: 'hostPort',
|
||||
defaultSocketPath: '/var/run/mysqld/mysqld.sock',
|
||||
supportsTransactions: true,
|
||||
|
||||
getNewObjectTemplates() {
|
||||
return [
|
||||
|
||||
@@ -97,6 +97,7 @@ const oracleDriver = {
|
||||
// ['server', 'port', 'user', 'password', 'defaultDatabase', 'singleDatabase'].includes(field),
|
||||
getQuerySplitterOptions: () => oracleSplitterOptions,
|
||||
readOnlySessions: true,
|
||||
supportsTransactions: true,
|
||||
|
||||
databaseUrlPlaceholder: 'e.g. localhost:1521/orcl',
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@ const driver = {
|
||||
engine: 'sqlite@dbgate-plugin-sqlite',
|
||||
title: 'SQLite',
|
||||
readOnlySessions: true,
|
||||
supportsTransactions: true,
|
||||
showConnectionField: (field, values) => field == 'databaseFile' || field == 'isReadOnly',
|
||||
showConnectionTab: (field) => false,
|
||||
beforeConnectionSave: (connection) => ({
|
||||
|
||||
Reference in New Issue
Block a user