MCPcopy Create free account
hub / github.com/corestoreio/pkg / QueryContext

Method QueryContext

sql/dml/interfaces.go:55–55  ·  view source on GitHub ↗

QueryContext executes a query that returns rows, typically a SELECT. The args are for any placeholder parameters in the query.

(ctx context.Context, query string, args ...any)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

TestWithLogger_SelectFunction · 0.65
TestWithLogger_UnionFunction · 0.65
TestWithLogger_WithCTEFunction · 0.65
TestWith_QueryFunction · 0.65
TestWith_PrepareFunction · 0.65
TestUnion_QueryFunction · 0.65
TestUnion_PrepareFunction · 0.65
TestSelect_QueryContextFunction · 0.65
TestSelect_PrepareFunction · 0.65
BenchmarkSelect_RowsFunction · 0.65

Implementers 7

SQLErrDriverConsql/dml/connection_callback_test.go
SQLErrDriverStmtsql/dml/connection_callback_test.go
dbMocksql/dml/interfaces_test.go
DBRsql/dml/dbr.go
cbConnsql/dml/connection_callback.go
cbStmtsql/dml/connection_callback.go
stmtWrappersql/dml/stmt.go

Calls

no outgoing calls

Tested by 13

TestWithLogger_SelectFunction · 0.52
TestWithLogger_UnionFunction · 0.52
TestWithLogger_WithCTEFunction · 0.52
TestWith_QueryFunction · 0.52
TestWith_PrepareFunction · 0.52
TestUnion_QueryFunction · 0.52
TestUnion_PrepareFunction · 0.52
TestSelect_QueryContextFunction · 0.52
TestSelect_PrepareFunction · 0.52
BenchmarkSelect_RowsFunction · 0.52