Open swlkr opened 1 year ago
There is a first draft at this but it's not quite right: https://github.com/swlkr/rizzle/blob/dc84380905822a148be5b5a448dc4c0833e587d0/src/lib.rs#L1589-L1661
I didn't like how this turned out so I'm abandoning for now, i'll have to come up with some other way to do this without relying on serde_json
Return relationships when
with
is called, kind of like a join but it returns aVec<T>
on a given row field and a T of the given foreign key: