# storeit_sql_builder
[](https://crates.io/crates/storeit_sql_builder)
[](https://docs.rs/storeit_sql_builder)
Minimal SQL builder helpers for `storeit` that leverage metadata generated by `#[derive(Entity)]`.
Highlights:
- Builds SELECT/INSERT/UPDATE/DELETE strings from compile-time metadata
- Pluggable placeholder style via features: `tokio_postgres` => `$1`, others => `?`
- Optional RETURNING support for libsql via `libsql_returning`
Examples:
```ignore
use storeit_sql_builder as b;
// For an entity with table = "users" and columns id, email
let sel = b::select_by_id::<MyEntity>("id");
let ins = b::insert::<MyEntity>("id");
```
See the workspace README and the tests for more examples.
MSRV: 1.70
License: MIT OR Apache-2.0