From 900ce2319750d39ad50c19acfc7c020f4a4bc06d Mon Sep 17 00:00:00 2001 From: "v.veselskiy" Date: Thu, 24 Nov 2022 14:18:48 +0300 Subject: [PATCH] Add UpdateBuilder.ExecContext --- update.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/update.go b/update.go index 33864e9..654f8b8 100644 --- a/update.go +++ b/update.go @@ -2,6 +2,7 @@ package dbr import ( "bytes" + "context" "database/sql" "fmt" "time" @@ -206,3 +207,7 @@ func (b *UpdateBuilder) Exec() (sql.Result, error) { return result, nil } + +func (b *UpdateBuilder) ExecContext(ctx context.Context) (sql.Result, error) { + return nil, nil +}