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

Function Query

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

Source from the content-addressed store, hash-verified

57}
58
59func Query(ctx *sql.Context, query string, args ...any) (*stdsql.Rows, error) {
60 conn, err := GetConn(ctx)
61 if err != nil {
62 return nil, err
63 }
64 return conn.QueryContext(ctx, query, args...)
65}
66
67func QueryRow(ctx *sql.Context, query string, args ...any) *stdsql.Row {
68 conn, err := GetConn(ctx)

Callers

nothing calls this directly

Calls 2

GetConnFunction · 0.85
QueryContextMethod · 0.80

Tested by

no test coverage detected