mirror of
https://github.com/VinGarcia/ksql.git
synced 2025-07-15 00:28:19 +00:00
Improve Update() to pass context to Exec
This commit is contained in:
parent
733284997f
commit
c1f645216c
@ -247,7 +247,7 @@ func (c Client) Update(
|
||||
return err
|
||||
}
|
||||
|
||||
_, err = c.db.DB().Exec(query, params...)
|
||||
_, err = c.db.DB().ExecContext(ctx, query, params...)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user