MCPcopy
hub / github.com/sqlc-dev/sqlc / Exec

Method Exec

examples/batch/postgresql/db.go:15–15  ·  view source on GitHub ↗
(context.Context, string, ...interface{})

Source from the content-addressed store, hash-verified

13
14type DBTX interface {
15 Exec(context.Context, string, ...interface{}) (pgconn.CommandTag, error)
16 Query(context.Context, string, ...interface{}) (pgx.Rows, error)
17 QueryRow(context.Context, string, ...interface{}) pgx.Row
18 SendBatch(context.Context, *pgx.Batch) pgx.BatchResults

Callers 15

runFunction · 0.65
CreateDatabaseMethod · 0.65
AnalyzeMethod · 0.65
EnsureConnMethod · 0.65
TestExpandPostgreSQLFunction · 0.65
TestExpandSQLiteFunction · 0.65
PlaceholderMethod · 0.65
PlaceholderMethod · 0.65
PlaceholderMethod · 0.65
PlaceholderMethod · 0.65
ExecMethod · 0.65
PlaceholderMethod · 0.65

Calls

no outgoing calls

Tested by 3

TestExpandPostgreSQLFunction · 0.52
TestExpandSQLiteFunction · 0.52
TestBatchBooksFunction · 0.52