Module diesel::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.




  • 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.
  • The SQLite backend
  • This type represents a value bound to a sqlite prepared statement
  • Connections for the SQLite backend. Unlike other backends, SQLite supported connection URLs are:
  • Raw sqlite value as received from the database


  • Determines how a bind parameter is given to SQLite