Brendan Allan

Results 115 comments of Brendan Allan

Over in [rspc](https://github.com/oscartbeaumont/rspc) we just ignore the error type of results, since that's how serde treats them. At least in TypeScript, errors get thrown and aren't usually part of a...

I was actually thinking about this the other day, it should be possible after #250. I'd want it to look something like this: ```rs foo::select!(foo_detailed { name bar: #bar_with_children })...

Two things: 1. Right now you can only make records for 1 model at a time, so first make your bookmark and second make your relation record. You can't `connect`...

From what I understand `cargo-binstall` and tools like it require publishing to crates.io, which I won't be doing (https://github.com/Brendonovich/prisma-client-rust/issues/76). If it can support git dependencies then I'll consider it.

> I saw some serde, but could we maybe get bincode ^2.0.0-rc.3 support added at some point? Doesn't have to be in this PR, but I tend to use bincode...

Ok so here's the API I've got at the moment. Transactions can be done in two ways. Both are able to commit and rollback, and provide a dedicated instance of...

> This mean's it'd work out of the box with anyhow too, right...? I haven't got much experience with `anyhow`, but `QueryError` implements `std::error::Error` so it should be fine. You'd...

@linsijia628 Nothing yet. Rest assured I'm aware of it.

still got a lot to go but the types for these are completed ```rust client.user().create( "Brendan".to_string(), vec![user::posts::connect(vec![ post::id::equals("0".to_string()), post::id::equals("1".to_string()), ])], ); client.user().create( "Brendan".to_string(), vec![user::posts::create_many(vec![ user::posts::create("Brendan".to_string(), false, vec![]), user::posts::create("Brendan".to_string(), true, vec![]),...

Raw query docs: https://prisma-client-rust-git-main-brendonovich.vercel.app/extra/raw#aggregate_raw