MCPcopy Index your code
hub / github.com/upper/db / Iterator

Method Iterator

internal/sqlbuilder/builder.go:125–127  ·  view source on GitHub ↗
(query interface{}, args ...interface{})

Source from the content-addressed store, hash-verified

123}
124
125func (b *sqlBuilder) Iterator(query interface{}, args ...interface{}) db.Iterator {
126 return b.IteratorContext(b.sess.Context(), query, args...)
127}
128
129func (b *sqlBuilder) IteratorContext(ctx context.Context, query interface{}, args ...interface{}) db.Iterator {
130 rows, err := b.QueryContext(ctx, query, args...)

Callers

nothing calls this directly

Calls 2

IteratorContextMethod · 0.95
ContextMethod · 0.65

Tested by

no test coverage detected