mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 12:13:57 +00:00
postgre procedure analyis problem test #122
This commit is contained in:
parent
30f291c525
commit
081dff38e3
@ -27,7 +27,16 @@ const engines = [
|
||||
user: 'postgres',
|
||||
port: 15000,
|
||||
},
|
||||
objects: [views],
|
||||
objects: [
|
||||
views,
|
||||
{
|
||||
type: 'procedures',
|
||||
create1: 'CREATE PROCEDURE obj1() LANGUAGE SQL AS $$ select * from t1 $$',
|
||||
create2: 'CREATE PROCEDURE obj2() LANGUAGE SQL AS $$ select * from t2 $$',
|
||||
drop1: 'DROP PROCEDURE obj1',
|
||||
drop2: 'DROP PROCEDURE obj2',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'SQL Server',
|
||||
@ -38,7 +47,16 @@ const engines = [
|
||||
user: 'sa',
|
||||
port: 15002,
|
||||
},
|
||||
objects: [views],
|
||||
objects: [
|
||||
views,
|
||||
{
|
||||
type: 'procedures',
|
||||
create1: 'CREATE PROCEDURE obj1 AS SELECT id FROM t1',
|
||||
create2: 'CREATE PROCEDURE obj2 AS SELECT id FROM t2',
|
||||
drop1: 'DROP PROCEDURE obj1',
|
||||
drop2: 'DROP PROCEDURE obj2',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'SQLite',
|
||||
|
Loading…
Reference in New Issue
Block a user