MCPcopy Create free account
hub / github.com/PostHog/duckgres / scanQuoted

Function scanQuoted

server/flightclient/flight_executor.go:952–964  ·  view source on GitHub ↗

scanQuoted returns the index just past a quoted region starting at start (query[start] == quote), treating a doubled quote ('' or "") as an escape.

(query string, start int, quote byte)

Source from the content-addressed store, hash-verified

950 rowsAffected int64
951}
952
953func (r *flightExecResult) RowsAffected() (int64, error) {
954 return r.rowsAffected, nil
955}
956
957// arrowColumnType implements ColumnTyper by mapping Arrow DataType to DuckDB type names.
958type arrowColumnType struct {
959 dt arrow.DataType
960 exactDatabaseTypeName string
961 hasExactDatabaseType bool
962}
963
964func newArrowColumnType(field arrow.Field) *arrowColumnType {
965 exactType, ok := field.Metadata.GetValue(sqlcore.ExactDatabaseTypeNameMetadataKey)
966 return &arrowColumnType{
967 dt: field.Type,

Callers 1

interpolateArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected