Update comment

This commit is contained in:
Владислав Весельский 2022-11-24 15:24:53 +03:00
parent f799533201
commit 7f1c3542b0
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ func (b *UpdateBuilder) Exec() (sql.Result, error) {
return b.ExecContext(context.Background()) return b.ExecContext(context.Background())
} }
// Exec executes the statement represented by the UpdateBuilder // ExecContext executes the statement represented by the UpdateBuilder
// It returns the raw database/sql Result and an error if there was one // It returns the raw database/sql Result and an error if there was one
func (b *UpdateBuilder) ExecContext(ctx context.Context) (sql.Result, error) { func (b *UpdateBuilder) ExecContext(ctx context.Context) (sql.Result, error) {
sql, args := b.ToSql() sql, args := b.ToSql()