heetch / sqalx

Nested transactions for sqlx
MIT License
159 stars 25 forks source link

Add context aware interfaces to Driver #9

Closed asdine closed 6 years ago

asdine commented 6 years ago

EDIT: This PR allows using a sqalx.Driver as an ExecerContext etc. Driver is an interface that contains methods that are found in an *sqlx.DB and *sqlx.Tx. ExecerContext and such were missing from the interface and this was preventing to use their respective methods from a Driver.