MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / QueryRowContext

Method QueryRowContext

internal/utils/dbs/stmt.go:89–94  ·  view source on GitHub ↗
(ctx context.Context, args ...any)

Source from the content-addressed store, hash-verified

87}
88
89func (this *Stmt) QueryRowContext(ctx context.Context, args ...any) *sql.Row {
90 if this.enableStat {
91 defer SharedQueryStatManager.AddQuery(this.query).End()
92 }
93 return this.rawStmt.QueryRowContext(ctx, args...)
94}
95
96func (this *Stmt) QueryRow(args ...any) *sql.Row {
97 if this.enableStat {

Callers

nothing calls this directly

Calls 2

AddQueryMethod · 0.80
EndMethod · 0.45

Tested by

no test coverage detected