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.

Structs§

  • Builder of SQLite connection
  • Database query result Iterator wrapper. This wrapper allows to call entity hydration for each extracted result.
  • 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 Provider query as output.
  • Each projection field is defined by
  • Handful tool to store SQL source aliases.
  • Where condition builder.

Enums§

Traits§

  • Get all condition builder.
  • An extension of the Provider that can return all the entities of a given type.
  • A Provider is able to perform queries on a database and return iterator of a defined entity. It aims at being easily testable and adaptable.
  • How to hydrate an entity from a SQLite result row

Functions§

  • Do a vacuum on the given connection, this will reconstruct the database file, repacking it into a minimal amount of disk space.

Type Aliases§