#SeaOrm unit of work

1 messages · Page 1 of 1 (latest)

naive gust
#

Does SeaORM use the unit of work pattern? I was hoping for some kind of transactional style of updating my database. But i couldnt find execs or saves except for using it on single tables. If I was trying to remove something from one table a, update some other table b and then add something to table c, but only if all three work, then i wouldnt know how in seaorm. Is there some kind of automatic rollback? Sorry for my bad english 🙈
Tldr: what i am looking for is creating some kind of transaction in seaorm.

naive gust
#

Oh and does seaorm somehow prevent sqlinjection?
Is this the wrong place for such questions?