MCPcopy
hub / github.com/Masterminds/squirrel / QueryRowContextWith

Function QueryRowContextWith

squirrel_ctx.go:90–93  ·  view source on GitHub ↗

QueryRowContextWith QueryRowContexts the SQL returned by s with db.

(ctx context.Context, db QueryRowerContext, s Sqlizer)

Source from the content-addressed store, hash-verified

88
89// QueryRowContextWith QueryRowContexts the SQL returned by s with db.
90func QueryRowContextWith(ctx context.Context, db QueryRowerContext, s Sqlizer) RowScanner {
91 query, args, err := s.ToSql()
92 return &Row{RowScanner: db.QueryRowContext(ctx, query, args...), err: err}
93}

Callers 5

QueryRowContextMethod · 0.85
QueryRowContextMethod · 0.85
QueryRowContextMethod · 0.85
TestQueryRowContextWithFunction · 0.85
QueryRowContextMethod · 0.85

Calls 2

ToSqlMethod · 0.65
QueryRowContextMethod · 0.65

Tested by 1

TestQueryRowContextWithFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…