Expand description
SQLite module. This module provides a minimal yet useful Entity framework on top of SQLite with ability to perform any SQL query possible and hydrate results in Rust structs.
Modules§
- error
- Helpers to handle SQLite errors
Structs§
- Connection
Builder - Builder of SQLite connection
- Entity
Cursor - Database query result Iterator wrapper. This wrapper allows to call entity hydration for each extracted result.
- Projection
- Projection is a definition of field mapping during a query. Fields come from one or several source structures (can be tables, views or sub queries) and are mapped to a Query as output.
- Projection
Field - Each projection field is defined by
- Source
Alias - Handful tool to store SQL source aliases.
- Sqlite
Cleaner - The SqliteCleaner is responsible for cleaning up databases by performing tasks defined in SqliteCleaningTask.
- Sqlite
Connection Pool - Pool of Sqlite connections
- Sqlite
Pooled Connection - SqliteConnection wrapper for a pooled connection
- Transaction
- Sqlite transaction wrapper.
- Where
Condition - Where condition builder.
Enums§
- Connection
Options - Options to apply to the connection
- Hydration
Error - SqLite hydration error
- Sqlite
Cleaning Task - Tasks that can be performed by the SqliteCleaner
Traits§
- Connection
Extensions - Extension trait for the SqliteConnection type.
- GetAll
Condition - Get all condition builder.
- Query
- Define a query to perform on database and return iterator of a defined entity.
- SqLite
Entity - How to hydrate an entity from a SQLite result row
Type Aliases§
- Sqlite
Connection - Type of the connection used in Mithril