pub struct Sqlite;Expand description
SQLite dialect marker.
Trait Implementations§
impl Copy for Sqlite
Source§impl Dialect for Sqlite
impl Dialect for Sqlite
Source§fn quote_char() -> char
fn quote_char() -> char
The identifier quote character (e.g. backtick for MySQL,
" for ANSI).Source§fn write_placeholder(out: &mut String, _n: usize)
fn write_placeholder(out: &mut String, _n: usize)
Source§fn supports_returning() -> bool
fn supports_returning() -> bool
Whether this dialect supports the
RETURNING clause.Source§fn upsert_style() -> UpsertStyle
fn upsert_style() -> UpsertStyle
How this dialect expresses an upsert. Defaults to
UpsertStyle::OnConflict (Postgres / SQLite); MySQL overrides to
UpsertStyle::OnDuplicateKey.Source§fn supports_distinct_on() -> bool
fn supports_distinct_on() -> bool
Whether this dialect supports
SELECT DISTINCT ON (cols). Defaults to
false; only Postgres overrides to true. Compiling a distinct_on
query against a dialect that returns false panics.Source§fn ilike_is_native() -> bool
fn ilike_is_native() -> bool
Whether this dialect has a native case-insensitive
ILIKE operator.
Defaults to false; only Postgres overrides to true. When false,
where_ilike is compiled as LOWER(col) LIKE LOWER(?).impl Eq for Sqlite
Source§impl SqlxDialect for Sqlite
Available on crate feature sqlx_sqlite only.
impl SqlxDialect for Sqlite
Available on crate feature
sqlx_sqlite only.impl StructuralPartialEq for Sqlite
Auto Trait Implementations§
impl Freeze for Sqlite
impl RefUnwindSafe for Sqlite
impl Send for Sqlite
impl Sync for Sqlite
impl Unpin for Sqlite
impl UnsafeUnpin 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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