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

Function QueryRow

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

Source from the content-addressed store, hash-verified

65}
66
67func QueryRow(ctx *sql.Context, query string, args ...any) *stdsql.Row {
68 conn, err := GetConn(ctx)
69 if err != nil {
70 return nil
71 }
72 return conn.QueryRowContext(ctx, query, args...)
73}
74
75// QueryCatalog is a helper function to query the catalog, such as information_schema.
76// Unlike QueryContext, this function does not require a schema name to be set on the connection,

Callers 2

isInRecoveryMethod · 0.92
readOneWALPositionStrMethod · 0.92

Calls 1

GetConnFunction · 0.85

Tested by

no test coverage detected