commanded-ecto-projections
commanded-ecto-projections copied to clipboard
How to insert data in different tables for one event?
Hello,
first of all, thanks a lot for this nice library :)
I was wondering how to insert data in different tables for one event? For instance, two Ecto.Multi.insert() results in seeing only the result of the last one in the table.
Hi @MMore,
I don't think there should be anything preventing writing to several tables in response to one event.
Maybe you can share the code that doesn't behave as expected?