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, moving bound values out of the AST
instead of cloning them. This is the primary rendering entry point used by
the engine’s hot paths; dialects implement this.
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, moving bound values out of the AST
instead of cloning them.
Source§fn render_update_owned(&self, update: Update) -> Result<Sql>
fn render_update_owned(&self, update: Update) -> Result<Sql>
Render an owned UPDATE query into SQL, moving bound values out of the AST
instead of cloning them.
Source§fn render_delete_owned(&self, delete: Delete) -> Result<Sql>
fn render_delete_owned(&self, delete: Delete) -> Result<Sql>
Render an owned DELETE query into SQL, moving bound values out of the AST
instead of cloning them.
Source§fn render_select(&self, select: &Select) -> Result<Sql>
fn render_select(&self, select: &Select) -> Result<Sql>
Render a borrowed SELECT query into SQL. Read more
Source§fn render_insert(&self, insert: &Insert) -> Result<Sql>
fn render_insert(&self, insert: &Insert) -> Result<Sql>
Render a borrowed INSERT query into SQL by cloning and delegating to
Self::render_insert_owned.Source§fn render_update(&self, update: &Update) -> Result<Sql>
fn render_update(&self, update: &Update) -> Result<Sql>
Render a borrowed UPDATE query into SQL by cloning and delegating to
Self::render_update_owned.Source§fn render_delete(&self, delete: &Delete) -> Result<Sql>
fn render_delete(&self, delete: &Delete) -> Result<Sql>
Render a borrowed DELETE query into SQL by cloning and delegating to
Self::render_delete_owned.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