pub struct ClickHouseDialect;Implementations§
Trait Implementations§
Source§impl Default for ClickHouseDialect
impl Default for ClickHouseDialect
Source§impl SqlDialect for ClickHouseDialect
impl SqlDialect for ClickHouseDialect
Source§fn compile(&self, ir: &QueryIR) -> CompileResult
fn compile(&self, ir: &QueryIR) -> CompileResult
Compile a QueryIR into a parameterized SQL string, binding values,
and an alias remapping table for columns aliased in SELECT for HAVING support.
Source§fn quote_identifier(&self, name: &str) -> String
fn quote_identifier(&self, name: &str) -> String
Quote a column or table identifier for this dialect (e.g. backticks for ClickHouse).
Source§fn supports_count_distinct(&self) -> bool
fn supports_count_distinct(&self) -> bool
Whether the dialect supports
COUNT(DISTINCT col).Source§fn placeholder(&self) -> &str
fn placeholder(&self) -> &str
The placeholder character for parameterized queries (e.g.
? for ClickHouse, $1 for PostgreSQL).Auto Trait Implementations§
impl Freeze for ClickHouseDialect
impl RefUnwindSafe for ClickHouseDialect
impl Send for ClickHouseDialect
impl Sync for ClickHouseDialect
impl Unpin for ClickHouseDialect
impl UnsafeUnpin for ClickHouseDialect
impl UnwindSafe for ClickHouseDialect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more