MCPcopy
hub / github.com/tinyauthapp/tinyauth / DBTX

Interface DBTX

internal/repository/db.go:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type DBTX interface {
13 ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
14 PrepareContext(context.Context, string) (*sql.Stmt, error)
15 QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
16 QueryRowContext(context.Context, string, ...interface{}) *sql.Row
17}
18
19func New(db DBTX) *Queries {
20 return &Queries{db: db}

Callers 18

DeleteOidcCodeMethod · 0.80
DeleteOidcCodeBySubMethod · 0.80
DeleteOidcTokenMethod · 0.80
DeleteOidcTokenBySubMethod · 0.80
DeleteOidcUserInfoMethod · 0.80
DeleteExpiredSessionsMethod · 0.80
DeleteSessionMethod · 0.80
CreateOidcCodeMethod · 0.80
CreateOidcTokenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected