MCPcopy Index your code
hub / github.com/upper/db / Exec

Method Exec

sql.go:89–89  ·  view source on GitHub ↗

Exec executes a SQL query that does not return any rows, like sql.Exec. Queries can be either strings or upper-db statements. Example: sqlbuilder.Exec(`INSERT INTO books (title) VALUES("La Ciudad y los Perros")`)

(query interface{}, args ...interface{})

Source from the content-addressed store, hash-verified

87 //
88 // sqlbuilder.Exec(`INSERT INTO books (title) VALUES("La Ciudad y los Perros")`)
89 Exec(query interface{}, args ...interface{}) (sql.Result, error)
90
91 // ExecContext executes a SQL query that does not return any rows, like sql.ExecContext.
92 // Queries can be either strings or upper-db statements.

Callers 15

testPostgreSQLTypesFunction · 0.65
Test_Issue210Method · 0.65
InsertMethod · 0.65
SetUpMethod · 0.65
InsertMethod · 0.65
SetUpMethod · 0.65

Implementers 1

sqlBuilderinternal/sqlbuilder/builder.go

Calls

no outgoing calls

Tested by 15

testPostgreSQLTypesFunction · 0.52
Test_Issue210Method · 0.52
SetUpMethod · 0.52
SetUpMethod · 0.52
TestMySQLTypesMethod · 0.52
SetUpMethod · 0.52