Struct diesel::sqlite::Sqlite [−][src]
pub struct Sqlite;
The SQLite backend
Trait Implementations
impl HasSqlType<Bool> for Sqlite
[src]
impl HasSqlType<Bool> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<SmallInt> for Sqlite
[src]
impl HasSqlType<SmallInt> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<Integer> for Sqlite
[src]
impl HasSqlType<Integer> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<BigInt> for Sqlite
[src]
impl HasSqlType<BigInt> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<Float> for Sqlite
[src]
impl HasSqlType<Float> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<Double> for Sqlite
[src]
impl HasSqlType<Double> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<Numeric> for Sqlite
[src]
impl HasSqlType<Numeric> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<Text> for Sqlite
[src]
impl HasSqlType<Text> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<Binary> for Sqlite
[src]
impl HasSqlType<Binary> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<Date> for Sqlite
[src]
impl HasSqlType<Date> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<Time> for Sqlite
[src]
impl HasSqlType<Time> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<Timestamp> for Sqlite
[src]
impl HasSqlType<Timestamp> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl Debug for Sqlite
[src]
impl Debug for Sqlite
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Sqlite
[src]
impl Copy for Sqlite
impl Clone for Sqlite
[src]
impl Clone for Sqlite
fn clone(&self) -> Sqlite
[src]
fn clone(&self) -> Sqlite
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Hash for Sqlite
[src]
impl Hash for Sqlite
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Sqlite
[src]
impl PartialEq for Sqlite
fn eq(&self, other: &Sqlite) -> bool
[src]
fn eq(&self, other: &Sqlite) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for Sqlite
[src]
impl Eq for Sqlite
impl Backend for Sqlite
[src]
impl Backend for Sqlite
type QueryBuilder = SqliteQueryBuilder
The concrete QueryBuilder
implementation for this backend.
type BindCollector = RawBytesBindCollector<Sqlite>
The concrete BindCollector
implementation for this backend. Read more
type RawValue = SqliteValue
The raw representation of a database value given to FromSql
. Read more
type ByteOrder = NativeEndian
What byte order is used to transmit integers? Read more
impl TypeMetadata for Sqlite
[src]
impl TypeMetadata for Sqlite
type TypeMetadata = SqliteType
The actual type used to represent metadata. Read more
type MetadataLookup = ()
The type used for runtime lookup of metadata. Read more
impl UsesAnsiSavepointSyntax for Sqlite
[src]
impl UsesAnsiSavepointSyntax for Sqlite
impl FromSql<Date, Sqlite> for NaiveDate
[src]
impl FromSql<Date, Sqlite> for NaiveDate
fn from_sql(value: Option<&<Sqlite as Backend>::RawValue>) -> Result<Self>
[src]
fn from_sql(value: Option<&<Sqlite as Backend>::RawValue>) -> Result<Self>
See the trait documentation.
impl ToSql<Date, Sqlite> for NaiveDate
[src]
impl ToSql<Date, Sqlite> for NaiveDate
impl FromSql<Time, Sqlite> for NaiveTime
[src]
impl FromSql<Time, Sqlite> for NaiveTime
fn from_sql(value: Option<&<Sqlite as Backend>::RawValue>) -> Result<Self>
[src]
fn from_sql(value: Option<&<Sqlite as Backend>::RawValue>) -> Result<Self>
See the trait documentation.
impl ToSql<Time, Sqlite> for NaiveTime
[src]
impl ToSql<Time, Sqlite> for NaiveTime
impl FromSql<Timestamp, Sqlite> for NaiveDateTime
[src]
impl FromSql<Timestamp, Sqlite> for NaiveDateTime
fn from_sql(value: Option<&<Sqlite as Backend>::RawValue>) -> Result<Self>
[src]
fn from_sql(value: Option<&<Sqlite as Backend>::RawValue>) -> Result<Self>
See the trait documentation.
impl ToSql<Timestamp, Sqlite> for NaiveDateTime
[src]
impl ToSql<Timestamp, Sqlite> for NaiveDateTime
impl FromSql<Date, Sqlite> for *const str
[src]
impl FromSql<Date, Sqlite> for *const str
The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of String
, but don't want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
impl ToSql<Date, Sqlite> for str
[src]
impl ToSql<Date, Sqlite> for str
impl ToSql<Date, Sqlite> for String
[src]
impl ToSql<Date, Sqlite> for String
impl FromSql<Time, Sqlite> for *const str
[src]
impl FromSql<Time, Sqlite> for *const str
The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of String
, but don't want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
impl ToSql<Time, Sqlite> for str
[src]
impl ToSql<Time, Sqlite> for str
impl ToSql<Time, Sqlite> for String
[src]
impl ToSql<Time, Sqlite> for String
impl FromSql<Timestamp, Sqlite> for *const str
[src]
impl FromSql<Timestamp, Sqlite> for *const str
The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of String
, but don't want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
impl ToSql<Timestamp, Sqlite> for str
[src]
impl ToSql<Timestamp, Sqlite> for str
impl ToSql<Timestamp, Sqlite> for String
[src]
impl ToSql<Timestamp, Sqlite> for String
impl FromSql<VarChar, Sqlite> for *const str
[src]
impl FromSql<VarChar, Sqlite> for *const str
The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of String
, but don't want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
impl FromSql<Binary, Sqlite> for *const [u8]
[src]
impl FromSql<Binary, Sqlite> for *const [u8]
The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of Vec<u8>
, but don't want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
impl FromSql<SmallInt, Sqlite> for i16
[src]
impl FromSql<SmallInt, Sqlite> for i16
impl FromSql<Integer, Sqlite> for i32
[src]
impl FromSql<Integer, Sqlite> for i32
impl FromSql<Bool, Sqlite> for bool
[src]
impl FromSql<Bool, Sqlite> for bool
impl FromSql<BigInt, Sqlite> for i64
[src]
impl FromSql<BigInt, Sqlite> for i64
impl FromSql<Float, Sqlite> for f32
[src]
impl FromSql<Float, Sqlite> for f32
impl FromSql<Double, Sqlite> for f64
[src]
impl FromSql<Double, Sqlite> for f64
impl ToSql<Bool, Sqlite> for bool
[src]
impl ToSql<Bool, Sqlite> for bool
impl QueryBuilder<Sqlite> for SqliteQueryBuilder
[src]
impl QueryBuilder<Sqlite> for SqliteQueryBuilder
fn push_sql(&mut self, sql: &str)
[src]
fn push_sql(&mut self, sql: &str)
Add sql
to the end of the query being constructed.
fn push_identifier(&mut self, identifier: &str) -> QueryResult<()>
[src]
fn push_identifier(&mut self, identifier: &str) -> QueryResult<()>
Quote identifier
, and add it to the end of the query being constructed. Read more
fn push_bind_param(&mut self)
[src]
fn push_bind_param(&mut self)
Add a placeholder for a bind parameter to the end of the query being constructed. Read more
fn finish(self) -> String
[src]
fn finish(self) -> String
Returns the constructed SQL query.