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
is it possible to use db transaction using struct insert? because it's confussing when i want to start transaction in handler and i want to execute the query in repository. if it possible, how can i implement to my code?
I'm trying to implement it in my code like the picture below, but I'm a bit unsure if my implementation is good or not.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
is it possible to use db transaction using struct insert? because it's confussing when i want to start transaction in handler and i want to execute the query in repository. if it possible, how can i implement to my code?
I'm trying to implement it in my code like the picture below, but I'm a bit unsure if my implementation is good or not.
Beta Was this translation helpful? Give feedback.
All reactions