Exporter duplicate rows for relations
Hi, i'm working with the exporter. I need to to duplicate the record of the table exported, one for every relation of the record (it's a registration->members relation so 1 registration with N members, with a pivot table).
It's there a way to duplicate the exported record in that way?
Example (pseudo code):
can't find anything online, and LLM goes crazy very bad with that one... π
ty
1 Reply
ok maybe solved with a raw query with join. But to me looks pretty strange that is not possible (or at least i haven't found a way) to do it in a clean eloquent way...