Skip to content

Commit

Permalink
add new commands (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga authored Dec 4, 2024
1 parent bb260d2 commit bc0b2a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/ch/query.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule Ch.Query do
{"DELETE", :delete},
{"SYSTEM", :system},
{"SHOW", :show},
# as of clickhouse 22.8, WITH is only allowed in SELECT
# as of ClickHouse 24.11, WITH is only allowed in SELECT
# https://clickhouse.com/docs/en/sql-reference/statements/select/with/
{"WITH", :select},
{"GRANT", :grant},
Expand All @@ -40,7 +40,9 @@ defmodule Ch.Query do
{"SET", :set},
{"TRUNCATE", :truncate},
{"USE", :use},
{"WATCH", :watch}
{"WATCH", :watch},
{"MOVE", :move},
{"UNDROP", :undrop}
]

command_union =
Expand Down

0 comments on commit bc0b2a8

Please sign in to comment.