How to get SqlBoiler v3.5.0 CLI to generate code that includes transaction support? #1340
-
|
Hi, Eg: When we generate the Go code with But my generated code just has this function signatures like this (without the What am I doing wrong? When running TIA 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
|
Beta Was this translation helpful? Give feedback.
boil.Executoris an interface that is satisfied by both*sql.DBand*sql.Txso you can pass thetxpointer to it and it would work as you expect.