This PR adds an exec.go file that contains sqlair versions of Exec, Query and their contextualised versions.
The standard go sql.DB type is embedded in sqlair.DB meaning all its methods are still accessible (though they will only work with queries containing the sqlair DML if the method is overwritten in exec.go).
This PR adds an exec.go file that contains
sqlair
versions ofExec
,Query
and their contextualised versions.The standard go
sql.DB
type is embedded insqlair.DB
meaning all its methods are still accessible (though they will only work with queries containing thesqlair
DML if the method is overwritten inexec.go
).