Update comment
This commit is contained in:
parent
f799533201
commit
7f1c3542b0
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue