{"repo":"MattDelac/tiny_orm","free":true,"listed":false,"github":"https://github.com/MattDelac/tiny_orm","clone":"git clone https://github.com/MattDelac/tiny_orm.git","description":"A tiny ORM for CRUD operations built on top of SQLx QueryBuilder.","language":"Rust","stars":54,"topics":["orm","rust","sqlx"],"license":"MIT","category":"databases-storage","readme_excerpt":"Tiny ORM A minimal ORM for CRUD operations. Built on top of SQLx and with its QueryBuilder. Support Sqlite, Postgres and MySQL right off the bat. It has smart defaults and is also flexible. This library is the one I wished I had when I built a project in Rust in production and did not want a heavy ORM. Should you use TinyORM? You should consider using TinyORM if... - You mostly need to run CRUD operations on your database - You use raw SQL (or a Query Builder) for more complex queries You should NOT use TinyORM, if... - You expect it to be a full ORM like SeaORM or Diesel - You need the queries to be checked at compile time - You need a \"no-std\" environment (since it's built on top of SQLx) - You don't want to use SQLx Installation Or add this to your Cargo.toml : Features Check Cargo.toml to see all the features available. Principles & advantages of TinyORM The goals of this library are - To have the least amount of dependencies - Tackle all the boilerplate of the CRUD operations - Add no complexity by default - Can fit real world problems Why TinyORM over another one? - All the queries are built with the QueryBuilder -- All the inputs are passed as database arguments -- All the queries are compatible with Sqlite, Postgres and MySQL - Minimal set of dependencies (fast compile time) -- SQLx -- convert case -- regex - Intuitive with smart defaults and flexible MSRV MSRV has been tested with cargo-msrv find --features sqlite . You can learn more about cargo-msrv on their websit","default_branch":null,"files":null,"tree":[],"storefront":"/r/MattDelac","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MattDelac/tiny_orm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}