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

Method ComQuery

pgserver/duck_handler.go:236–242  ·  view source on GitHub ↗

ComQuery implements the Handler interface.

(ctx context.Context, c *mysql.Conn, query string, parsed tree.Statement, callback func(*Result) error)

Source from the content-addressed store, hash-verified

234 fields = []pgproto3.FieldDescription{
235 {
236 Name: []byte("Rows"),
237 DataTypeOID: pgtype.Int4OID,
238 DataTypeSize: 4,
239 },
240 }
241 }
242 if err != nil {
243 defer stmt.Close()
244 return nil, nil, nil, err
245 }

Callers

nothing calls this directly

Calls 1

doQueryMethod · 0.95

Tested by

no test coverage detected