pub struct SQLite;Expand description
SQLite dialect implementation.
Trait Implementations§
Source§impl Dialect for SQLite
impl Dialect for SQLite
Source§fn positional_param(_: usize) -> Cow<'static, str>
fn positional_param(_: usize) -> Cow<'static, str>
Generate the SQL placeholder for a positional parameter.
Source§fn select<V: Default>(op: &SelectOperation) -> (String, V)
fn select<V: Default>(op: &SelectOperation) -> (String, V)
Generate the SQL query for a
SELECT operation.Source§fn insert<V>(_op: &InsertOperation) -> (String, V)
fn insert<V>(_op: &InsertOperation) -> (String, V)
Generate the SQL query for a
INSERT operation.Source§fn update<V>(_op: &UpdateOperation) -> (String, V)
fn update<V>(_op: &UpdateOperation) -> (String, V)
Generate the SQL query for a
UPDATE operation.Source§fn delete<V>(_op: &DeleteOperation) -> (String, V)
fn delete<V>(_op: &DeleteOperation) -> (String, V)
Generate the SQL query for a
DELETE operation.Auto Trait Implementations§
impl Freeze for SQLite
impl RefUnwindSafe for SQLite
impl Send for SQLite
impl Sync for SQLite
impl Unpin for SQLite
impl UnwindSafe for SQLite
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more