Replies: 1 comment
-
|
It has typed return shapes like: (A, Option<B>)
(A, Option<B>, Option<C>)So after a few chained calls the type-level result shape becomes hard to express and SeaORM only supports a limited number of those combinations. For this case I’d probably use one of these approaches instead: 1. Use
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
SeaORM's find_also_related only supports two chained calls and does not allow multiple chained invocations. Is it possible to improve this? Otherwise, it's not feasible to query multiple related entities in a single call.
For example, the following pattern fails to compile or function as expected:
Beta Was this translation helpful? Give feedback.
All reactions