MCPcopy Create free account
hub / github.com/apecloud/myduckserver / QueryRowCatalog

Function QueryRowCatalog

adapter/adapter.go:86–92  ·  view source on GitHub ↗
(ctx *sql.Context, query string, args ...any)

Source from the content-addressed store, hash-verified

84}
85
86func QueryRowCatalog(ctx *sql.Context, query string, args ...any) *stdsql.Row {
87 conn, err := ctx.Session.(ConnectionHolder).GetCatalogConn(ctx)
88 if err != nil {
89 return nil
90 }
91 return conn.QueryRowContext(ctx, query, args...)
92}
93
94func Exec(ctx *sql.Context, query string, args ...any) (stdsql.Result, error) {
95 conn, err := GetConn(ctx)

Callers 5

LoadMethod · 0.92
doSnapshotMethod · 0.92
SelectSubscriptionLsnFunction · 0.92

Calls 1

GetCatalogConnMethod · 0.65

Tested by

no test coverage detected