MCPcopy
hub / github.com/Masterminds/squirrel / Exec

Method Exec

update.go:172–175  ·  view source on GitHub ↗

Exec builds and Execs the query with the Runner set by RunWith.

()

Source from the content-addressed store, hash-verified

170
171// Exec builds and Execs the query with the Runner set by RunWith.
172func (b UpdateBuilder) Exec() (sql.Result, error) {
173 data := builder.GetStruct(b).(updateData)
174 return data.Exec()
175}
176
177func (b UpdateBuilder) Query() (*sql.Rows, error) {
178 data := builder.GetStruct(b).(updateData)

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.65

Tested by

no test coverage detected