typed-sql
typed-sql copied to clipboard
The rusqlite repo: [rusqlite repo](https://github.com/rusqlite/rusqlite) The style code can be the same way of the issue: #2
Hey, I love this project, and I am very excited to try it out, however I ran into a problem, where the name of my table is different from the...
To insert the increasing IDs can be useful to be able to get the result of the insertion. This is a very crude example, but I would like to have...
Mysql is used more than postgres.
It supported mysql as I tested, so i think others may need an example of mysql.
### Is not possible use multiple fields using Queryable trait in a struct. ```rust #[derive(Table)] struct Task { id: u64, description: String, is_done: bool, } #[derive(Queryable)] struct TaskQuery { description:...
The sqlx repo: https://github.com/launchbadge/sqlx For example, use the following methods ```sql let users:Vec = User::query(&conn) .filter(|user| user.id.neq(6).and(user.id.gt(3))) .order_by(|user| user.name.then(user.id.ascending())) .limit(5) .get() .await?; ```
Please add relevant unit tests