mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 04:26:01 +00:00
copy from stdin WIP
This commit is contained in:
@@ -124,6 +124,11 @@ const postgresDriverBase = {
|
||||
getQuerySplitterOptions: usage =>
|
||||
usage == 'editor'
|
||||
? { ...postgreSplitterOptions, ignoreComments: true, preventSingleLineSplit: true }
|
||||
: usage == 'import'
|
||||
? {
|
||||
...postgreSplitterOptions,
|
||||
copyFromStdin: true,
|
||||
}
|
||||
: postgreSplitterOptions,
|
||||
readOnlySessions: true,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user