From 6cc373885c9f6e949c0d4bb0d9bbd938a0b1ab3f Mon Sep 17 00:00:00 2001 From: Vladislav Veselskiy Date: Fri, 25 Nov 2022 14:31:16 +0300 Subject: [PATCH] Call UpdateBuilder.ExecContext --- save.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/save.go b/save.go index 821fa9c..d9fdff5 100644 --- a/save.go +++ b/save.go @@ -89,7 +89,7 @@ func SaveRow(ctx context.Context, db *db.DBC, dataItem meta.IMetaStruct) error { updateBuilder := db.UpdateBySQL(sqlSmt, params...) - res, err := updateBuilder.Exec() + res, err := updateBuilder.ExecContext(ctx) if err != nil { if len(sqlSmt) > 200 { sqlSmt = sqlSmt[0:200]