pub struct StarRocksDialect;Implementations§
Trait Implementations§
Source§impl Default for StarRocksDialect
impl Default for StarRocksDialect
Source§impl SqlDialect for StarRocksDialect
impl SqlDialect for StarRocksDialect
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 StarRocksDialect
impl RefUnwindSafe for StarRocksDialect
impl Send for StarRocksDialect
impl Sync for StarRocksDialect
impl Unpin for StarRocksDialect
impl UnsafeUnpin for StarRocksDialect
impl UnwindSafe for StarRocksDialect
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