MCPcopy
hub / github.com/go-gorp/gorp / Exec

Method Exec

gorp.go:182–182  ·  view source on GitHub ↗
(query string, args ...interface{})

Source from the content-addressed store, hash-verified

180// on internal functions that need to be agnostic to the underlying object.
181type executor interface {
182 Exec(query string, args ...interface{}) (sql.Result, error)
183 Prepare(query string) (*sql.Stmt, error)
184 QueryRow(query string, args ...interface{}) *sql.Row
185 Query(query string, args ...interface{}) (*sql.Rows, error)

Callers 15

InsertQueryToTargetMethod · 0.65
TestWithCanceledContextFunction · 0.65
deleteFunction · 0.65
updateFunction · 0.65
insertFunction · 0.65
execFunction · 0.65
DropIndexMethod · 0.65
TestPersistentUserFunction · 0.65
TestNamedQueryMapFunction · 0.65
TestNamedQueryStructFunction · 0.65

Calls

no outgoing calls

Tested by 14

TestWithCanceledContextFunction · 0.52
TestPersistentUserFunction · 0.52
TestNamedQueryMapFunction · 0.52
TestNamedQueryStructFunction · 0.52
TestTransactionExecNamedFunction · 0.52
testCrudInternalFunction · 0.52
TestWithStringPkFunction · 0.52
TestPrepareFunction · 0.52
BenchmarkNativeCrudFunction · 0.52