MCPcopy
hub / github.com/pingcap/tidb / QueryContext

Method QueryContext

pkg/util/dbutil/interface.go:32–32  ·  view source on GitHub ↗
(ctx context.Context, query string, args ...any)

Source from the content-addressed store, hash-verified

30// in generate the implement should be *sql.DB or *sql.Conn
31type QueryExecutor interface {
32 QueryContext(ctx context.Context, query string, args ...any) (*sql.Rows, error)
33 QueryRowContext(ctx context.Context, query string, args ...any) *sql.Row
34}
35

Callers 15

ListAllDatabasesTablesFunction · 0.65
GetPdAddrsFunction · 0.65
GetTiDBDDLIDsFunction · 0.65
simpleQueryWithArgsFunction · 0.65
GetPartitionTableIDsFunction · 0.65
QuerySQLWithColumnsMethod · 0.65
nextRowsMethod · 0.65
StartMethod · 0.65

Calls

no outgoing calls