Skip to main content

SQLiteAffinity

Trait SQLiteAffinity 

Source
pub trait SQLiteAffinity: DataType {
    const SQL_TYPE: &'static str;
}
Expand description

SQLite affinity metadata owned by a Drizzle SQL type marker.

Required Associated Constants§

Source

const SQL_TYPE: &'static str

SQLite affinity spelling used in DDL and schema metadata.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl SQLiteAffinity for Any

Source§

const SQL_TYPE: &'static str = "ANY"

Source§

impl SQLiteAffinity for Blob

Source§

const SQL_TYPE: &'static str = "BLOB"

Source§

impl SQLiteAffinity for Integer

Source§

const SQL_TYPE: &'static str = "INTEGER"

Source§

impl SQLiteAffinity for Numeric

Source§

const SQL_TYPE: &'static str = "NUMERIC"

Source§

impl SQLiteAffinity for Real

Source§

const SQL_TYPE: &'static str = "REAL"

Source§

impl SQLiteAffinity for Text

Source§

const SQL_TYPE: &'static str = "TEXT"