Struct diesel::sqlite::Sqlite [−][src]
pub struct Sqlite;
The SQLite backend
Trait Implementations
impl HasSqlType<Bool> for Sqlite[src]
impl HasSqlType<Bool> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<SmallInt> for Sqlite[src]
impl HasSqlType<SmallInt> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<Integer> for Sqlite[src]
impl HasSqlType<Integer> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<BigInt> for Sqlite[src]
impl HasSqlType<BigInt> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<Float> for Sqlite[src]
impl HasSqlType<Float> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<Double> for Sqlite[src]
impl HasSqlType<Double> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<Numeric> for Sqlite[src]
impl HasSqlType<Numeric> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<Text> for Sqlite[src]
impl HasSqlType<Text> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<Binary> for Sqlite[src]
impl HasSqlType<Binary> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<Date> for Sqlite[src]
impl HasSqlType<Date> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<Time> for Sqlite[src]
impl HasSqlType<Time> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<Timestamp> for Sqlite[src]
impl HasSqlType<Timestamp> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl Debug for Sqlite[src]
impl Debug for Sqlitefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for Sqlite[src]
impl Copy for Sqliteimpl Clone for Sqlite[src]
impl Clone for Sqlitefn clone(&self) -> Sqlite[src]
fn clone(&self) -> SqliteReturns 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 Sqlitefn 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 Sqlitefn eq(&self, other: &Sqlite) -> bool[src]
fn eq(&self, other: &Sqlite) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for Sqlite[src]
impl Eq for Sqliteimpl Backend for Sqlite[src]
impl Backend for Sqlitetype 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 Sqlitetype 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 Sqliteimpl FromSql<Date, Sqlite> for NaiveDate[src]
impl FromSql<Date, Sqlite> for NaiveDatefn 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 NaiveDateimpl FromSql<Time, Sqlite> for NaiveTime[src]
impl FromSql<Time, Sqlite> for NaiveTimefn 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 NaiveTimeimpl FromSql<Timestamp, Sqlite> for NaiveDateTime[src]
impl FromSql<Timestamp, Sqlite> for NaiveDateTimefn 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 NaiveDateTimeimpl FromSql<Date, Sqlite> for *const str[src]
impl FromSql<Date, Sqlite> for *const strThe 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 strimpl ToSql<Date, Sqlite> for String[src]
impl ToSql<Date, Sqlite> for Stringimpl FromSql<Time, Sqlite> for *const str[src]
impl FromSql<Time, Sqlite> for *const strThe 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 strimpl ToSql<Time, Sqlite> for String[src]
impl ToSql<Time, Sqlite> for Stringimpl FromSql<Timestamp, Sqlite> for *const str[src]
impl FromSql<Timestamp, Sqlite> for *const strThe 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 strimpl ToSql<Timestamp, Sqlite> for String[src]
impl ToSql<Timestamp, Sqlite> for Stringimpl FromSql<VarChar, Sqlite> for *const str[src]
impl FromSql<VarChar, Sqlite> for *const strThe 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 i16impl FromSql<Integer, Sqlite> for i32[src]
impl FromSql<Integer, Sqlite> for i32impl FromSql<Bool, Sqlite> for bool[src]
impl FromSql<Bool, Sqlite> for boolimpl FromSql<BigInt, Sqlite> for i64[src]
impl FromSql<BigInt, Sqlite> for i64impl FromSql<Float, Sqlite> for f32[src]
impl FromSql<Float, Sqlite> for f32impl FromSql<Double, Sqlite> for f64[src]
impl FromSql<Double, Sqlite> for f64impl ToSql<Bool, Sqlite> for bool[src]
impl ToSql<Bool, Sqlite> for boolimpl QueryBuilder<Sqlite> for SqliteQueryBuilder[src]
impl QueryBuilder<Sqlite> for SqliteQueryBuilderfn 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) -> StringReturns the constructed SQL query.