pub struct MysqlDialect;Expand description
MySQL SQL dialect renderer.
Trait Implementations§
Source§impl Clone for MysqlDialect
impl Clone for MysqlDialect
Source§fn clone(&self) -> MysqlDialect
fn clone(&self) -> MysqlDialect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MysqlDialect
impl Debug for MysqlDialect
Source§impl Dialect for MysqlDialect
Renders query ASTs into MySQL-compatible SQL with ? placeholders
and backtick-quoted identifiers.
impl Dialect for MysqlDialect
Renders query ASTs into MySQL-compatible SQL with ? placeholders
and backtick-quoted identifiers.
Source§fn supports_returning(&self) -> bool
fn supports_returning(&self) -> bool
Whether this dialect natively supports the RETURNING clause
on INSERT, UPDATE, and DELETE statements. Read more
Source§fn render_select_owned(&self, select: Select) -> Result<Sql>
fn render_select_owned(&self, select: Select) -> Result<Sql>
Render an owned SELECT query into SQL, allowing dialects to move bound
values out of the AST instead of cloning them.
Source§fn render_insert_owned(&self, insert: Insert) -> Result<Sql>
fn render_insert_owned(&self, insert: Insert) -> Result<Sql>
Render an owned INSERT query into SQL, allowing dialects to move bound
values out of the AST instead of cloning them.
impl Copy for MysqlDialect
Auto Trait Implementations§
impl Freeze for MysqlDialect
impl RefUnwindSafe for MysqlDialect
impl Send for MysqlDialect
impl Sync for MysqlDialect
impl Unpin for MysqlDialect
impl UnsafeUnpin for MysqlDialect
impl UnwindSafe for MysqlDialect
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