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
It’s useful for generating batch inserts. You can mconcat together inserts into various tables, and using zipTables to generate batch inserts per table:
I posted this on Twitter and someone replied that this should go in the documentation somewhere. I think that's a good idea, but I'm not sure what would be the right place, and if some of the code should be part of a beam package. If we can decide on the right place for this I'm more than willing to create a PR.
The text was updated successfully, but these errors were encountered:
I had a bit of fun turning the whole database into a Monoid:
It’s useful for generating batch inserts. You can
mconcat
together inserts into various tables, and usingzipTables
to generate batch inserts per table:I posted this on Twitter and someone replied that this should go in the documentation somewhere. I think that's a good idea, but I'm not sure what would be the right place, and if some of the code should be part of a beam package. If we can decide on the right place for this I'm more than willing to create a PR.
The text was updated successfully, but these errors were encountered: