Replies: 1 comment 2 replies
-
It isn't too complicated. but it just touches a lot of files. If pgx also used the same driver name as However, because we also need to change the driver name when opening the connection, we also need to modify the template. And to do that.... A flag will need to be added to Also, this will add a flag to the entire sqlboiler CLI when only one driver needs it which I'm not so sure of. If you're worried about having extra dependencies, then you shouldn't worry too much since a dependency used only in your test won't be compiled with the rest of your code. The alternative is to change this for everyone, but I'm not so sure we should do this since there are no real issues with using |
Beta Was this translation helpful? Give feedback.
-
I am using SQLBoiler with
jackc/pgx/v5/stdlib
as the postgres driver. I was wondering if we could have a config option to usejackc/pgx/v5/stdlib
as driver for generated tests instead oflib/pq
? I tried it out by manually editing the generated test files and the tests seem to run good, but would like to see a permanent solution. Is that something which can be implemented easily?Beta Was this translation helpful? Give feedback.
All reactions