diesel
diesel copied to clipboard
A safe, extensible ORM and Query Builder for Rust
Follow-up of a bug discovered here : https://github.com/diesel-rs/diesel/pull/3019#issuecomment-1013075368 ## Setup ### Versions - **Rust: 1.57** - **Diesel: master (https://github.com/diesel-rs/diesel/commit/a213fe232a122f35a812b0ce0269708a1845a4c9)** - **Database: Postgres 13.3** ### Feature Flags - **diesel: postgres** ##...
### Versions - **Diesel:** 1.3 - **Database:** Postgres ### What are you trying to accomplish? In 1.3, the `diesel.toml` file has been introduced. In the current form, you can only...
resolves #1867
Actually I have this struct ```rust #[derive(Clone, Debug, Queryable, Serialize, AsChangeset, Identifiable, Associations)] #[has_many(authors)] pub struct User { pub id: i32, pub name: String, pub email: String, #[serde(skip_serializing)] pub password:...
## Background I lost a _lot_ of time to this today. This might not be the best way to go about solving it, but _some_ mechanism to inform users what's...
I'm in my own branch (`only`) which builds from b2c58897c3. I have ran `cargo test --features postgres` many times. Only once, I got one failed test (that my code could...
## Problem Description Following the get started guide step by step I was willing to run insert code with `mysql`. ```rust // ... let inserted = diesel::insert_into(entities::table) .values(&ext) .get_result::(&conn) .unwrap();...
Not sure if there was a feature request for this, but I happened to need it and felt it wouldn't be too hard to implement. Does this seem reasonable? (We...
Hello! Thank you for this excellent project! I wish to make use of diesel_cli on machines that are both resource constrained and do not have Rust installed. Would it be...
Right now the error messages aren't very verbose with PostgreSQL when a migration fails, e.g.: ``` Failed with: syntax error at or near "." ``` It would be helpful to...