aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_go18.go
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite3_go18.go')
-rw-r--r--sqlite3_go18.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/sqlite3_go18.go b/sqlite3_go18.go
index 5832a92..7109d58 100644
--- a/sqlite3_go18.go
+++ b/sqlite3_go18.go
@@ -37,6 +37,10 @@ func (c *SQLiteConn) PrepareContext(ctx context.Context, query string) (driver.S
return c.prepare(ctx, query)
}
+func (c *SQLiteConn) BeginContext(ctx context.Context) (driver.Tx, error) {
+ return c.begin(ctx)
+}
+
func (s *SQLiteStmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error) {
list := make([]namedValue, len(args))
for i, nv := range args {