You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A cool feature of ecto queries and schemas is to perform cross table join that have associations between them, that way you can retrieve assoc data with simple functions pipelines, as:
Introduction
A cool feature of ecto queries and schemas is to perform cross table join that have associations between them, that way you can retrieve assoc data with simple functions pipelines, as:
Another option is to define a query to retrieve in a single expression the whole structure:
Proposal
I’m proposing a new option to
swiss_schema
functions to apply such preloading assocs on retrieve and creation functions:The text was updated successfully, but these errors were encountered: