| Crates.io | storeit_sql_builder |
| lib.rs | storeit_sql_builder |
| version | 0.1.7 |
| created_at | 2025-08-20 08:23:08.631344+00 |
| updated_at | 2025-08-28 08:37:40.004704+00 |
| description | SQL builder for storeit with pluggable placeholder styles and optional RETURNING support |
| homepage | |
| repository | https://github.com/dahankzter/storeit-rs/ |
| max_upload_size | |
| id | 1802997 |
| size | 68,824 |
Minimal SQL builder helpers for storeit that leverage metadata generated by #[derive(Entity)].
Highlights:
tokio_postgres => $1, others => ?libsql_returningExamples:
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