Skip to main content

SQLiteDialect

Struct SQLiteDialect 

Source
pub struct SQLiteDialect;
Expand description

Type-level marker for SQLite.

Used by crate::row::SQLTypeToRust to provide SQLite-specific type mappings. SQLite stores UUIDs as BLOB by default and uses TEXT for date/time and JSON values.

Trait Implementations§

Source§

impl AggregatePolicy<SQLiteDialect> for Integer

Source§

impl AggregatePolicy<SQLiteDialect> for Real

Source§

impl AggregatePolicy<SQLiteDialect> for Numeric

Source§

impl AggregatePolicy<SQLiteDialect> for Any

Source§

impl<Source: DataType + Compatible<Target>, Target: DataType> CastTypePolicy<SQLiteDialect, Source, Target> for ()

Source§

impl CharLengthPolicy for SQLiteDialect

Source§

const CHAR_LENGTH_FN: &'static str = "LENGTH"

Source§

impl Clone for SQLiteDialect

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Copy for SQLiteDialect

Source§

impl CountPolicy for SQLiteDialect

Source§

type Count = Integer

The integer type returned by COUNT (e.g. Integer on SQLite, Int8 on PostgreSQL).
Source§

impl Debug for SQLiteDialect

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl DialectTypes for SQLiteDialect

Source§

impl FloatPolicy for SQLiteDialect

Source§

type Float = Real

The floating-point type returned by distribution window functions like PERCENT_RANK and CUME_DIST (Real on SQLite, Float8 on PostgreSQL).
Source§

impl LengthPolicy<SQLiteDialect> for Text

Source§

impl LengthPolicy<SQLiteDialect> for Any

Source§

impl RandomPolicy for SQLiteDialect

Source§

impl RoundingPolicy<SQLiteDialect> for Integer

Source§

impl RoundingPolicy<SQLiteDialect> for Real

Source§

impl RoundingPolicy<SQLiteDialect> for Numeric

Source§

impl SQLTypeToRust<SQLiteDialect> for Integer

Source§

impl SQLTypeToRust<SQLiteDialect> for Text

Source§

impl SQLTypeToRust<SQLiteDialect> for Real

Source§

impl SQLTypeToRust<SQLiteDialect> for Blob

Source§

impl SQLTypeToRust<SQLiteDialect> for Numeric

Source§

impl SQLTypeToRust<SQLiteDialect> for Any

Source§

impl SQLiteAggregateSupport for SQLiteDialect

Source§

impl SQLiteDateTimeSupport for SQLiteDialect

Source§

impl SQLiteMathSupport for SQLiteDialect

Source§

impl SQLiteStringSupport for SQLiteDialect

Source§

impl ValueTypeForDialect<SQLiteDialect> for i8

Source§

impl ValueTypeForDialect<SQLiteDialect> for i16

Source§

impl ValueTypeForDialect<SQLiteDialect> for i32

Source§

impl ValueTypeForDialect<SQLiteDialect> for i64

Source§

impl ValueTypeForDialect<SQLiteDialect> for isize

Source§

impl ValueTypeForDialect<SQLiteDialect> for u8

Source§

impl ValueTypeForDialect<SQLiteDialect> for u16

Source§

impl ValueTypeForDialect<SQLiteDialect> for u32

Source§

impl ValueTypeForDialect<SQLiteDialect> for u64

Source§

impl ValueTypeForDialect<SQLiteDialect> for usize

Source§

impl ValueTypeForDialect<SQLiteDialect> for bool

Source§

impl ValueTypeForDialect<SQLiteDialect> for f32

Source§

impl ValueTypeForDialect<SQLiteDialect> for f64

Source§

impl ValueTypeForDialect<SQLiteDialect> for &str

Source§

impl ValueTypeForDialect<SQLiteDialect> for Cow<'_, str>

Source§

impl ValueTypeForDialect<SQLiteDialect> for String

Source§

impl ValueTypeForDialect<SQLiteDialect> for Box<String>

Source§

impl ValueTypeForDialect<SQLiteDialect> for Rc<String>

Source§

impl ValueTypeForDialect<SQLiteDialect> for Arc<String>

Source§

impl ValueTypeForDialect<SQLiteDialect> for Box<str>

Source§

impl ValueTypeForDialect<SQLiteDialect> for Rc<str>

Source§

impl ValueTypeForDialect<SQLiteDialect> for Arc<str>

Source§

impl ValueTypeForDialect<SQLiteDialect> for CompactString

Source§

impl ValueTypeForDialect<SQLiteDialect> for &[u8]

Source§

impl ValueTypeForDialect<SQLiteDialect> for Cow<'_, [u8]>

Source§

impl ValueTypeForDialect<SQLiteDialect> for Vec<u8>

Source§

impl ValueTypeForDialect<SQLiteDialect> for Box<Vec<u8>>

Source§

impl ValueTypeForDialect<SQLiteDialect> for Rc<Vec<u8>>

Source§

impl ValueTypeForDialect<SQLiteDialect> for Arc<Vec<u8>>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> AliasExt for T

Source§

fn alias(self, name: &'static str) -> AliasedExpr<Self>

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<Mk> MarkerAggValidFor<()> for Mk

Source§

impl<Scope> ScopeSatisfies<Nil, ()> for Scope

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> TypeEq<T> for T