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

Method Close

server/node/context_root_finalizer.go:106–113  ·  view source on GitHub ↗

Close implements the interface sql.RowIter.

(ctx *sql.Context)

Source from the content-addressed store, hash-verified

104
105// Close implements the interface sql.RowIter.
106func (r *rootFinalizerIter) Close(ctx *sql.Context) error {
107 err := r.childIter.Close(ctx)
108 if err != nil {
109 _ = core.CloseContextRootFinalizer(ctx)
110 return err
111 }
112 return core.CloseContextRootFinalizer(ctx)
113}
114
115// GetChildIter implements the interface sql.CustomRowIter.
116func (r *rootFinalizerIter) GetChildIter() sql.RowIter {

Callers

nothing calls this directly

Calls 2

CloseMethod · 0.65

Tested by

no test coverage detected