-
I tried this code: (change the `src/bin/init.rs` from https://github.com/pickfire/diesel-multi-join-play)
```rust
fn main() {
use hello::models::*;
use hello::schema::users::dsl::*;
…
-
## The suggestion
Add `insert_changelog` to field updater methods.
CONTEXT: https://github.com/msupply-foundation/open-msupply/pull/4570#discussion_r1716022457
Most of the time, to update an …
-
Might be related to https://github.com/diesel-rs/diesel/issues/398.
It turned out (to me) that cross joins are in fact inner joins on "true". PostgreSQL is happy to accept `... INNER JOIN ON true .…
-
Parse the `schema.rs` generated by diesel and then output a format understood by a diagramming tool:
- https://github.com/mermaid-js/mermaid
- https://github.com/BurntSushi/erd
- https://github.c…
-
The [Getting Started Guid](https://diesel.rs/guides/getting-started) is a great resource when getting started with Diesel. It goes though all of the basics quickly and clearly. Unfortunately, it's onl…
-
## Motivation
I currently use this line in my workflows:
```
cargo install --features postgres --no-default-features diesel_cli
```
This action currently doesn't allow specifying features (or…
-
## Setup
I'm writing a webapp that uses actix, r2d2, diesel and sqlite. r2d2 is used to keep a generic pool of diesel handles that are then handed out to functions handling concurrent requests.
…
-
> the trait bound `SystemTime: ToSchema` is not satisfied
> error[E0277]: the trait bound `SystemTime: PartialSchema` is not satisfied
I've tried enabling crate features of `chrono` or `time`; t…
-
* (Java)
- [x] [Auto generate models](http://hibernate.org/tools/)
- [ ] Support Field Expressions
* (Javascript)
- [ ] Auto generate models
- [ ] Support Field Expressions
* (Go)…
-
## Environment
* **IntelliJ Rust plugin version: 0.2.115.2157-193**
* **Rust toolchain version: 1.40.0**
* **IDE name and version: IntelliJ IDEA 2019.3.2 (Ultimate Edition)**
* **Operating syste…