Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions autoload/db_ui/schemas.vim
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function! s:get_oracle_queries()
let schemes_query = "
\SELECT /*csv*/ username
\ FROM all_users U
\ WHERE 1 = 1
\ WHERE 1 = 1
\ " . common_condition . "
\ ORDER BY username"

Expand Down Expand Up @@ -213,12 +213,14 @@ let s:bigquery = {
let s:clickhouse_schemes_query = "
\ SELECT name as schema_name
\ FROM system.databases
\ ORDER BY name"
\ ORDER BY name
\ FORMAT TabSeparated"

let s:clickhouse_schemes_tables_query = "
\ SELECT database AS table_schema, name AS table_name
\ FROM system.tables
\ ORDER BY table_name"
\ ORDER BY table_name
\ FORMAT TabSeparated"

let s:clickhouse = {
\ 'args': ['-q'],
Expand Down