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

Method ColumnTypes

server/executor.go:152–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150}
151
152func (r *LocalRowSet) ColumnTypes() ([]ColumnTyper, error) {
153 colTypes, err := r.rows.ColumnTypes()
154 if err != nil {
155 return nil, err
156 }
157 result := make([]ColumnTyper, len(colTypes))
158 for i, ct := range colTypes {
159 result[i] = ct
160 }
161 return result, nil
162}
163
164func (r *LocalRowSet) Next() bool {
165 return r.rows.Next()

Callers

nothing calls this directly

Calls 1

ColumnTypesMethod · 0.65

Tested by

no test coverage detected