MCPcopy Index your code
hub / github.com/dreamsofcode-io/zenstats / DBTX

Interface DBTX

internal/repository/db.go:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
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}
19
20func New(db DBTX) *Queries {
21 return &Queries{db: db}

Callers 3

InsertVisitMethod · 0.80
CountAllVisitsMethod · 0.80
CountVisitorsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected