{"repo":"diesel-rs/diesel","free":true,"listed":false,"github":"https://github.com/diesel-rs/diesel","clone":"git clone https://github.com/diesel-rs/diesel.git","description":"A safe, extensible ORM and Query Builder for Rust","language":"Rust","stars":14152,"topics":["rust","query-builder","orm","postgresql","sqlite","mysql"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"A safe, extensible ORM and Query Builder for Rust API Documentation: latest release – main branch Homepage Diesel gets rid of the boilerplate for database interaction and eliminates runtime errors without sacrificing performance. It takes full advantage of Rust's type system to create a low overhead query builder that \"feels like Rust.\" Supported databases: 1. PostgreSQL 2. MySQL 3. SQLite 4. MariaDB You can configure the database backend in Cargo.toml : Getting Started Find our extensive Getting Started tutorial at https://diesel.rs/guides/getting-started. Guides on more specific features are coming soon. Getting help If you run into problems, you can come ask for help at in our GitHub Discussions forum. This is also the right place to propose new features or show your applications. Usage Simple queries Simple queries are a complete breeze. Loading all users from a database: Executed SQL: Loading all the posts for a user: Executed SQL: Complex queries Diesel's powerful query builder helps you construct queries as simple or complex as you need, at zero cost. Executed SQL: Less boilerplate Diesel codegen generates boilerplate for you. It lets you focus on your business logic, not mapping to and from SQL rows. That means you can write this: Instead of this without Diesel: Inserting data It's not just about reading data. Diesel makes it easy to use structs for new records. Executed SQL: If you need data from the rows you inserted, just change execute to get result or get results","default_branch":null,"files":null,"tree":[],"storefront":"/r/diesel-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/diesel-rs/diesel/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."}