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]