pub struct SqliteDialect;Expand description
SQLite SQL dialect renderer.
Trait Implementations§
Source§impl Clone for SqliteDialect
impl Clone for SqliteDialect
Source§fn clone(&self) -> SqliteDialect
fn clone(&self) -> SqliteDialect
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 moreimpl Copy for SqliteDialect
Source§impl Debug for SqliteDialect
impl Debug for SqliteDialect
Source§impl Dialect for SqliteDialect
Renders query ASTs into SQLite-compatible SQL with ? placeholders
and double-quoted identifiers.
impl Dialect for SqliteDialect
Renders query ASTs into SQLite-compatible SQL with ? placeholders
and double-quoted identifiers.
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 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(&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.Auto Trait Implementations§
impl Freeze for SqliteDialect
impl RefUnwindSafe for SqliteDialect
impl Send for SqliteDialect
impl Sync for SqliteDialect
impl Unpin for SqliteDialect
impl UnsafeUnpin for SqliteDialect
impl UnwindSafe for SqliteDialect
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