Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to insert data in different tables for one event? #40

Open
MMore opened this issue May 14, 2021 · 1 comment
Open

How to insert data in different tables for one event? #40

MMore opened this issue May 14, 2021 · 1 comment

Comments

@MMore
Copy link

MMore commented May 14, 2021

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.

@anderslemke
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants