Module sqlite

Source
Available on crate feature sqlite only.
Expand description

Provides types and functions related to working with SQLite

Much of this module is re-exported from database agnostic locations. However, if you are writing code specifically to extend Diesel on SQLite, you may need to work with this module directly.

Re-exports§

pub use self::query_builder::SqliteQueryBuilder;

Modules§

expression
Sqlite related query builder extensions.
query_builder
The SQLite query builder
sql_types
SQLite specific sql types

Structs§

SerializedDatabase
SerializedDatabase is a wrapper for a serialized database that is dynamically allocated by calling sqlite3_serialize. This RAII wrapper is necessary to deallocate the memory when it goes out of scope with sqlite3_free.
Sqlite
The SQLite backend
SqliteBindValue
This type represents a value bound to a sqlite prepared statement
SqliteConnection
Connections for the SQLite backend. Unlike other backends, SQLite supported connection URLs are:
SqliteValue
Raw sqlite value as received from the database

Enums§

SqliteType
Determines how a bind parameter is given to SQLite

Traits§

SqliteAggregateFunction
Trait for the implementation of a SQLite aggregate function