pub struct SQLiteDialect;Expand description
Type-level marker for SQLite.
Selects SQLite type mappings (DialectTypes,
SQLTypeToRust). SQLite stores UUIDs as
BLOB and date/time and JSON values as TEXT.
Trait Implementations§
Source§impl AggregatePolicy<SQLiteDialect> for Integer
impl AggregatePolicy<SQLiteDialect> for Integer
Source§impl AggregatePolicy<SQLiteDialect> for Real
impl AggregatePolicy<SQLiteDialect> for Real
Source§impl AggregatePolicy<SQLiteDialect> for Numeric
impl AggregatePolicy<SQLiteDialect> for Numeric
Source§impl AggregatePolicy<SQLiteDialect> for Any
impl AggregatePolicy<SQLiteDialect> for Any
impl<Source: DataType + Compatible<Target>, Target: DataType> CastTypePolicy<SQLiteDialect, Source, Target> for ()
Source§impl Clone for SQLiteDialect
impl Clone for SQLiteDialect
impl Copy for SQLiteDialect
Source§impl Debug for SQLiteDialect
impl Debug for SQLiteDialect
impl DialectSupports<AggregateFilter> for SQLiteDialect
impl DialectSupports<Excluded> for SQLiteDialect
impl DialectSupports<GroupConcat> for SQLiteDialect
impl DialectSupports<SQLiteAggregate> for SQLiteDialect
impl DialectSupports<SQLiteDateTime> for SQLiteDialect
impl DialectSupports<Typeof> for SQLiteDialect
Source§impl DialectTypes for SQLiteDialect
impl DialectTypes for SQLiteDialect
Source§const CHAR_LENGTH_FN: &'static str = "LENGTH"
const CHAR_LENGTH_FN: &'static str = "LENGTH"
Name of the character-count function (
LENGTH on SQLite).Source§type TimestampTz = Text
type TimestampTz = Text
Date and time with a time zone.
Source§type DomainNullable<Input: Nullability> = Null
type DomainNullable<Input: Nullability> = Null
Nullability of a math function whose domain is narrower than its
input type (
SQRT, LN, LOG, …) given input nullability Input:
SQLite and MySQL answer NULL outside the domain, PostgreSQL raises.Source§impl InstrPolicy for SQLiteDialect
impl InstrPolicy for SQLiteDialect
Source§impl LengthPolicy<SQLiteDialect> for Text
impl LengthPolicy<SQLiteDialect> for Text
Source§impl LengthPolicy<SQLiteDialect> for Any
impl LengthPolicy<SQLiteDialect> for Any
Source§impl Log2Policy for SQLiteDialect
impl Log2Policy for SQLiteDialect
Source§impl RoundingPolicy<SQLiteDialect> for Integer
impl RoundingPolicy<SQLiteDialect> for Integer
Source§fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>
fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>
Prepares the operand of
ROUND(expr, precision). Read moreSource§fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>
fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>
Coerces a rounding function’s result to
Self::Output. Read moreSource§impl RoundingPolicy<SQLiteDialect> for Real
impl RoundingPolicy<SQLiteDialect> for Real
Source§fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>
fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>
Prepares the operand of
ROUND(expr, precision). Read moreSource§fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>
fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>
Coerces a rounding function’s result to
Self::Output. Read moreSource§impl RoundingPolicy<SQLiteDialect> for Numeric
impl RoundingPolicy<SQLiteDialect> for Numeric
Source§fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>
fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>
Prepares the operand of
ROUND(expr, precision). Read moreSource§fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>
fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>
Coerces a rounding function’s result to
Self::Output. Read moreSource§impl SQLTypeToRust<SQLiteDialect> for Integer
impl SQLTypeToRust<SQLiteDialect> for Integer
Source§impl SQLTypeToRust<SQLiteDialect> for Text
impl SQLTypeToRust<SQLiteDialect> for Text
Source§impl SQLTypeToRust<SQLiteDialect> for Real
impl SQLTypeToRust<SQLiteDialect> for Real
Source§impl SQLTypeToRust<SQLiteDialect> for Blob
impl SQLTypeToRust<SQLiteDialect> for Blob
Source§impl SQLTypeToRust<SQLiteDialect> for Numeric
impl SQLTypeToRust<SQLiteDialect> for Numeric
Source§impl SQLTypeToRust<SQLiteDialect> for Any
impl SQLTypeToRust<SQLiteDialect> for Any
Source§impl ValueTypeForDialect<SQLiteDialect> for i8
impl ValueTypeForDialect<SQLiteDialect> for i8
Source§impl ValueTypeForDialect<SQLiteDialect> for i16
impl ValueTypeForDialect<SQLiteDialect> for i16
Source§impl ValueTypeForDialect<SQLiteDialect> for i32
impl ValueTypeForDialect<SQLiteDialect> for i32
Source§impl ValueTypeForDialect<SQLiteDialect> for i64
impl ValueTypeForDialect<SQLiteDialect> for i64
Source§impl ValueTypeForDialect<SQLiteDialect> for isize
impl ValueTypeForDialect<SQLiteDialect> for isize
Source§impl ValueTypeForDialect<SQLiteDialect> for u8
impl ValueTypeForDialect<SQLiteDialect> for u8
Source§impl ValueTypeForDialect<SQLiteDialect> for u16
impl ValueTypeForDialect<SQLiteDialect> for u16
Source§impl ValueTypeForDialect<SQLiteDialect> for u32
impl ValueTypeForDialect<SQLiteDialect> for u32
Source§impl ValueTypeForDialect<SQLiteDialect> for u64
impl ValueTypeForDialect<SQLiteDialect> for u64
Source§impl ValueTypeForDialect<SQLiteDialect> for usize
impl ValueTypeForDialect<SQLiteDialect> for usize
Source§impl ValueTypeForDialect<SQLiteDialect> for bool
impl ValueTypeForDialect<SQLiteDialect> for bool
Source§impl ValueTypeForDialect<SQLiteDialect> for f32
impl ValueTypeForDialect<SQLiteDialect> for f32
Source§impl ValueTypeForDialect<SQLiteDialect> for f64
impl ValueTypeForDialect<SQLiteDialect> for f64
Source§impl ValueTypeForDialect<SQLiteDialect> for &str
impl ValueTypeForDialect<SQLiteDialect> for &str
Source§impl ValueTypeForDialect<SQLiteDialect> for Cow<'_, str>
impl ValueTypeForDialect<SQLiteDialect> for Cow<'_, str>
Source§impl ValueTypeForDialect<SQLiteDialect> for String
impl ValueTypeForDialect<SQLiteDialect> for String
Source§impl ValueTypeForDialect<SQLiteDialect> for Box<String>
impl ValueTypeForDialect<SQLiteDialect> for Box<String>
Source§impl ValueTypeForDialect<SQLiteDialect> for Rc<String>
impl ValueTypeForDialect<SQLiteDialect> for Rc<String>
Source§impl ValueTypeForDialect<SQLiteDialect> for Arc<String>
impl ValueTypeForDialect<SQLiteDialect> for Arc<String>
Source§impl ValueTypeForDialect<SQLiteDialect> for Box<str>
impl ValueTypeForDialect<SQLiteDialect> for Box<str>
Source§impl ValueTypeForDialect<SQLiteDialect> for Rc<str>
impl ValueTypeForDialect<SQLiteDialect> for Rc<str>
Source§impl ValueTypeForDialect<SQLiteDialect> for Arc<str>
impl ValueTypeForDialect<SQLiteDialect> for Arc<str>
Source§impl ValueTypeForDialect<SQLiteDialect> for &[u8]
impl ValueTypeForDialect<SQLiteDialect> for &[u8]
Source§impl ValueTypeForDialect<SQLiteDialect> for Cow<'_, [u8]>
impl ValueTypeForDialect<SQLiteDialect> for Cow<'_, [u8]>
Source§impl ValueTypeForDialect<SQLiteDialect> for Vec<u8>
impl ValueTypeForDialect<SQLiteDialect> for Vec<u8>
Source§impl ValueTypeForDialect<SQLiteDialect> for Box<Vec<u8>>
impl ValueTypeForDialect<SQLiteDialect> for Box<Vec<u8>>
Source§impl ValueTypeForDialect<SQLiteDialect> for Rc<Vec<u8>>
impl ValueTypeForDialect<SQLiteDialect> for Rc<Vec<u8>>
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