Expand description
This crate provides Turbosql’s procedural macros.
Please refer to the turbosql crate for how to set this up.
Macros§
- execute
- Executes a SQL statement. On success, returns the number of rows that were changed or inserted or deleted.
- select
- Executes a SQL SELECT statement with optionally automatic
SELECTandFROMclauses. - update
- Executes a SQL statement with optionally automatic
UPDATEclause. On success, returns the number of rows that were changed.
Derive Macros§
- Turbosql
- Derive this on a
structto create a corresponding SQLite table andTurbosqltrait methods.