What do you want to achieve?
I wanted to implement something like "clean up" actions. Attach an effect to your DBIO, and carry it around with you across all the flatmaps/andthens etc, and then when it is eventually run tack the effects on to the future as a side-effect.
Imagine something like a huge dbio transaction that at some point changes a user's subscription settings. At that point in the DBIO, I know I have to send an email to the user. It would be handy to at that point attach it (the send-email effect) to the DBIO and have it dealt with alongside the transaction execution automatically (if the transaction succeeds)
bit(1)data type for a
min(...)like this example
select min(field1), min(field2), min(myBit1Field) from ... group by id. Unfortunately, that aggregation doesn't play well with mysql's
bit(1)which in my case ends up being
truein my scala object when the record field in DB is 0x00 (false).
also it seems like travis only does one build at a time on the repo
we can live with that, I think...? especially now that my recent branch protection change cut the number of builds per PR from 2 back down to 1
O.AutoIncon it to ignore the value and use the default which is specified in database but unfortunately
O.AutoIncand I get following error when the id is
PSQLException: ERROR: null value in column "id" violates not-null constraint