MCPcopy Index your code
hub / github.com/Masterminds/structable / Exec

Method Exec

structable_test.go:302–306  ·  view source on GitHub ↗
(query string, args ...interface{})

Source from the content-addressed store, hash-verified

300}
301
302func (s *DBStub) Exec(query string, args ...interface{}) (sql.Result, error) {
303 s.LastExecSql = query
304 s.LastExecArgs = args
305 return &ResultStub{id: 1, affectedRows: 1}, nil
306}
307
308func (s *DBStub) Query(query string, args ...interface{}) (*sql.Rows, error) {
309 s.LastQuerySql = query

Callers 14

getMoviesDbFunction · 0.80
DeleteMethod · 0.80
insertStdMethod · 0.80
UpdateMethod · 0.80
TestPlainStructLoadFunction · 0.80
TestPlainStructLoadWhereFunction · 0.80
TestPlainStructUpdateFunction · 0.80
TestPlainStructDeleteFunction · 0.80
TestPlainStructExistsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected