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
I want to access informix, sql server, postres sql in the same database resolver.
But informix is an old server and doesn't enable trasaction, I have to enable SkipDefaultTransaction in gorm.Config to avoid errors.
on the other hand, other databases are working with transactions enabled, is there a possible way to set gorm.Config to every database registered in resolver?
it's seems all resolvers are share same gorm.Config from main DB, my current code here below:
I want to access informix, sql server, postres sql in the same database resolver.
But informix is an old server and doesn't enable trasaction, I have to enable SkipDefaultTransaction in gorm.Config to avoid errors.
on the other hand, other databases are working with transactions enabled, is there a possible way to set gorm.Config to every database registered in resolver?
it's seems all resolvers are share same gorm.Config from main DB, my current code here below:
The text was updated successfully, but these errors were encountered: