A safe, extensible ORM and Query Builder for Rust
Go to file
Sean Griffin 34891a6563 Pass the right hand side to JoinTo
This is a refactoring in preparation for ad-hoc join clauses. I'm
imagining the API being roughly `lhs.inner_join(rhs.on(on_clause))`,
which will mean we will have a struct containing the rhs and the on
clause. The `JoinTo` impl for this struct will need to just destructure
it and return those pieces, so this sets up the trait changes for all
existing implementations.

I had to bump clippy as part of this change, as it hits a rustc bug that
was fixed on more recent nightlies. However, I couldn't bump to the
*latest* clippy, as recent nightlies are broken for us due to
https://github.com/rust-lang/rust/issues/43153
2017-07-13 16:05:55 -06:00
.github Mention diesel print-schema in issue template 2017-06-29 14:28:54 +02:00
bin Massage CI env vars for upcoming changes 2017-03-17 00:59:06 -04:00
diesel Pass the right hand side to JoinTo 2017-07-13 16:05:55 -06:00
diesel_cli Pass the right hand side to JoinTo 2017-07-13 16:05:55 -06:00
diesel_codegen Pass the right hand side to JoinTo 2017-07-13 16:05:55 -06:00
diesel_compile_tests Actually fix failing build 2017-07-10 13:13:41 -04:00
diesel_infer_schema Pass the right hand side to JoinTo 2017-07-13 16:05:55 -06:00
diesel_tests Add group_by to boxed queries 2017-07-10 13:53:15 -04:00
examples Release v0.14.0 (The one with all the joins) 2017-07-04 10:56:56 -04:00
guide_drafts Wording, typo fixes for update guide 2017-07-01 15:02:38 +02:00
migrations Don't magically set up timestamp helpers, create a migration file 2017-07-04 10:41:51 -04:00
.appveyor.yml Run PG tests on a single thread on Windows 2017-06-05 14:37:58 -04:00
.editorconfig Add .editorconfig, clippy config for good measure 2017-02-10 20:15:59 +01:00
.env.sample Provide standard .env compatible with Docker usage 2017-03-19 09:05:44 -04:00
.gitignore add Cargo.lock for diesel_cli 2016-03-19 13:08:23 +01:00
.travis.yml Pass the right hand side to JoinTo 2017-07-13 16:05:55 -06:00
Cargo.toml Fix failing build 2017-07-10 12:36:08 -04:00
CHANGELOG.md fix link 2017-07-13 15:30:30 +09:00
clippy.toml Make clippy happy 2017-02-16 15:15:20 -05:00
code_of_conduct.md Update CoC contacts to reflect the active maintainers 2017-05-09 15:33:37 -04:00
CONTRIBUTING.md Change .env.example to .env.sample in Contrib guide 2017-06-17 13:16:46 -05:00
LICENSE-APACHE It's 2017 2017-02-13 08:52:52 -05:00
LICENSE-MIT It's 2017 2017-02-13 08:52:52 -05:00
README.md [ci skip] Fix Appveyor badge 2017-02-21 10:50:33 -05:00

A safe, extensible ORM and Query Builder for Rust

Build Status Appveyor Build Status Gitter Crates.io

Documentation

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".

Getting Started

You can find an extensive Getting Started tutorial at http://diesel.rs/guides/getting-started. Guides on more specific features will be coming soon.

Code of conduct

Anyone who interacts with Diesel in any space including but not limited to this GitHub repository is expected to follow our code of conduct

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.