Crate turbosql_impl

source ·
Expand description

This crate provides Turbosql’s procedural macros.

Please refer to the turbosql crate for how to set this up.

Macros§

  • Executes a SQL statement. On success, returns the number of rows that were changed or inserted or deleted.
  • Executes a SQL SELECT statement with optionally automatic SELECT and FROM clauses.
  • Executes a SQL statement with optionally automatic UPDATE clause. On success, returns the number of rows that were changed.

Derive Macros§

  • Derive this on a struct to create a corresponding SQLite table and Turbosql trait methods.