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

Method String

pgserver/iter.go:39–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39func (iter *DriverRowIter) String() string {
40 var sb strings.Builder
41 for i, col := range iter.schema {
42 if i > 0 {
43 sb.WriteString(" ")
44 }
45 sb.WriteString(col.Type.String())
46 }
47 return fmt.Sprintf("DriverRowIter: columns=%v, schema=[%s]", iter.columns, formatSchema(iter.schema))
48}
49
50// Next retrieves the next row. It will return io.EOF if it's the last row.
51func (iter *DriverRowIter) Next(ctx *sql.Context) (sql.Row, error) {

Callers 1

NewDriverRowIterFunction · 0.95

Calls 2

formatSchemaFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected