You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql=`SELECT * FROM "`+strings.ReplaceAll(query, innerSelectTable_, "") +`"`
65
+
} elseifquery==innerShowDatabases {
66
+
sql="SELECT table_catalog as name FROM information_schema.tables"
67
+
} elseifquery==innerShowTables {
68
+
sql=`SELECT table_name FROM information_schema.tables WHERE table_catalog = '%s' and table_schema != 'pg_catalog' and table_schema != 'information_schema'`
dbQuery=NewCommonDataQuery("select table_catalog as name from information_schema.tables",
134
-
`SELECT table_name FROM information_schema.tables WHERE table_catalog = '%s' and table_schema != 'pg_catalog' and table_schema != 'information_schema'`, "SELECT current_database() as name", db)
135
-
default:
136
-
dbQuery=NewCommonDataQuery("show databases", "show tables", "SELECT DATABASE() as name", db)
0 commit comments