MCPcopy
hub / github.com/gofiber/recipes / Query

Method Query

clean-code/app/datasources/database/postgres_db.go:15–15  ·  view source on GitHub ↗
(ctx context.Context, sql string, args ...interface{})

Source from the content-addressed store, hash-verified

13// Needed for mocking the database connection pool in tests.
14type PostgresPool interface {
15 Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)
16 Exec(ctx context.Context, sql string, args ...interface{}) (pgconn.CommandTag, error)
17 Close()
18}

Callers 15

CallbackFunction · 0.65
mainFunction · 0.65
LoadAllBooksMethod · 0.65
createOpenEventHandlerFunction · 0.65
getSentCountHandlerFunction · 0.65
newAppFunction · 0.65
mainFunction · 0.65
OAUTHRedirectFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65
HandleSayHelloRequestMethod · 0.65

Implementers 2

txDriverent-mysql/ent/tx.go
txDriverentgo-sveltekit/entity/tx.go

Calls

no outgoing calls

Tested by 1

newAppFunction · 0.52