commit | c7546f802a86613bc4cdd914a3fa24d4a165cce5 | [log] [tgz] |
---|---|---|
author | Georg Semmler <Georg_semmler_05@web.de> | Fri Apr 17 15:23:27 2020 +0000 |
committer | GitHub <noreply@github.com> | Fri Apr 17 15:23:27 2020 +0000 |
tree | 533c4565d468588c07dad65253a7b336edfeb75e | |
parent | 6688b3a5340430f7de30318097a96f79008ef174 [diff] | |
parent | b19ec790d07a956789fe99ee202c57476af79362 [diff] |
Merge pull request #2364 from Ten0/transaction_commit_failures_rollback Fix transactions not closing properly when failing on commit
API Documentation: latest release – master branch
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:
You can configure the database backend in Cargo.toml
:
[dependencies] diesel = { version = "<version>", features = ["<postgres|mysql|sqlite>"] }
Find our extensive Getting Started tutorial at https://diesel.rs/guides/getting-started. Guides on more specific features are coming soon.
If you run into problems, Diesel has a very active Gitter room. You can come ask for help at gitter.im/diesel-rs/diesel. For help with longer questions and discussion about the future of Diesel, visit our discourse forum.
Anyone who interacts with Diesel in any space, including but not limited to this GitHub repository, must follow our code of conduct.
Licensed under either of these:
Before contributing, please read the contributors guide for useful information about setting up Diesel locally, coding style and common abbreviations.
Unless you explicitly state otherwise, any contribution you intentionally submit for inclusion in the work, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.