go-admin icon indicating copy to clipboard operation
go-admin copied to clipboard

Fix: Add ability to use transaction in admin models: user, menu, perm…

Open seroleinic opened this issue 4 years ago • 0 comments

Previously, it was impossible to create user, roles, permissions, add roles to user in one transaction, because Table didn't call WithTx().

seroleinic avatar May 27 '21 07:05 seroleinic

Thanks for the pr. but WithTx() doesn`t mean with translation. It means with the transaction of the database. It has been some time, so I will close the pr. If you have more suggestions, welcome to a new issue or pr.

chenhg5 avatar Aug 23 '22 23:08 chenhg5

@chenhg5 Hello, where did you see something about translation. I wrote about transactions. When we make several Inserts, Update, Delete -> we want to use ACID (Atomicity, Consistency, etc).

seroleinic avatar Aug 24 '22 06:08 seroleinic