MCPcopy
hub / github.com/gocraft/dbr / Exec

Method Exec

update.go:207–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205}
206
207func (b *UpdateStmt) Exec() (sql.Result, error) {
208 return b.ExecContext(context.Background())
209}
210
211func (b *UpdateStmt) ExecContext(ctx context.Context) (sql.Result, error) {
212 return exec(ctx, b.Runner, b.EventReceiver, b, b.Dialect)

Callers 15

TestNullTypesScanningFunction · 0.45
TestTransactionCommitFunction · 0.45
TestTransactionRollbackFunction · 0.45
TestCommonSQLInjectionsFunction · 0.45
resetFunction · 0.45
TestBasicCRUDFunction · 0.45
TestTimeoutFunction · 0.45
BenchmarkLoadValuesFunction · 0.45
TestMapsFunction · 0.45
TestSelectRowsFunction · 0.45
TestInterfaceLoaderFunction · 0.45

Calls 1

ExecContextMethod · 0.95

Tested by 15

TestNullTypesScanningFunction · 0.36
TestTransactionCommitFunction · 0.36
TestTransactionRollbackFunction · 0.36
TestCommonSQLInjectionsFunction · 0.36
resetFunction · 0.36
TestBasicCRUDFunction · 0.36
TestTimeoutFunction · 0.36
BenchmarkLoadValuesFunction · 0.36
TestMapsFunction · 0.36
TestSelectRowsFunction · 0.36
TestInterfaceLoaderFunction · 0.36