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) -> (String, Vec<SqlValue>)
fn compile(&self, ir: &QueryIR) -> (String, Vec<SqlValue>)
Compile a QueryIR into a parameterized SQL string and binding values.
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 MySQL/StarRocks).
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 MySQL, $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