Module traits

Source

Traits§

CrudOps
CrudOps trait defines the CRUD (Create, Read, Update, Delete) operations that can be performed on a SQLite database.
FromRow
Trait for converting database rows to Rust structs. This trait is implemented by the derive macro FromRow.
SqlCommand
Trait for generating SQL commands (for INSERT/UPDATE/DELETE operations). This trait is implemented by the derive macros Insertable, Updateable, and Deletable.
SqlParams
Trait for providing SQL parameters. This trait is implemented by the derive macro SqlParams.
SqlQuery
Trait for generating SQL queries (for SELECT operations). This trait is implemented by the derive macro Queryable.
UpdateParams
Trait for providing UPDATE parameters. This trait is implemented by the derive macro UpdateParams.