MCPcopy Create free account
hub / github.com/dolthub/doltgresql / BuildRowIter

Method BuildRowIter

server/node/context_root_finalizer.go:64–73  ·  view source on GitHub ↗

BuildRowIter implements the interface sql.ExecBuilderNode.

(ctx *sql.Context, b sql.NodeExecBuilder, r sql.Row)

Source from the content-addressed store, hash-verified

62
63// BuildRowIter implements the interface sql.ExecBuilderNode.
64func (rf *ContextRootFinalizer) BuildRowIter(ctx *sql.Context, b sql.NodeExecBuilder, r sql.Row) (sql.RowIter, error) {
65 childIter, err := b.Build(ctx, rf.child, r)
66 if err != nil {
67 return nil, err
68 }
69 if childIter == nil {
70 childIter = sql.RowsToRowIter()
71 }
72 return &rootFinalizerIter{childIter: childIter}, nil
73}
74
75// Schema implements the interface sql.ExecBuilderNode.
76func (rf *ContextRootFinalizer) Schema(ctx *sql.Context) sql.Schema {

Callers

nothing calls this directly

Calls 1

BuildMethod · 0.45

Tested by

no test coverage detected