Replies: 2 comments 4 replies
-
In theory, all that is needed to be able to use any of that in the Once that is done, you can pass it into any of the boil methods. |
Beta Was this translation helpful? Give feedback.
-
This is likely not possible with the current global database that cannot be generic:
Otherwise such draft could work at with *sql.DB and easily swappable with a PGX implem:
Instead of generic, we could have an executor that is not natively implemented by
And have a function that returns an executor from an
That would be trivial to implement. I could work on it for v5. Thoughts ? |
Beta Was this translation helpful? Give feedback.
-
Greetings,
I would love to use SQLBoiler with the native pgx / pgxpool PostgreSQL driver
https://github.com/jackc/pgx
One can already do this via their pgx <> stdlib wrapper however you're then stuck with the limitations of the database/sql interface.
See: https://github.com/jackc/pgx#choosing-between-the-pgx-and-databasesql-interfaces
Beta Was this translation helpful? Give feedback.
All reactions