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

Method Iterator

sql.go:147–147  ·  view source on GitHub ↗

Iterator executes a SQL query that returns rows and creates an Iterator with it. Example: sqlbuilder.Iterator(`SELECT * FROM people WHERE name LIKE "M%"`)

(query interface{}, args ...interface{})

Source from the content-addressed store, hash-verified

145 //
146 // sqlbuilder.Iterator(`SELECT * FROM people WHERE name LIKE "M%"`)
147 Iterator(query interface{}, args ...interface{}) Iterator
148
149 // IteratorContext executes a SQL query that returns rows and creates an Iterator
150 // with it.

Callers 15

AllMethod · 0.65
OneMethod · 0.65
NextMethod · 0.65
NextResultMethod · 0.65
IteratorMethod · 0.65
TestSessionMethod · 0.65
CollectionsMethod · 0.65
LookupNameMethod · 0.65
TableExistsMethod · 0.65
PrimaryKeysMethod · 0.65
InsertMethod · 0.65
CollectionsMethod · 0.65

Implementers 1

sqlBuilderinternal/sqlbuilder/builder.go

Calls

no outgoing calls

Tested by

no test coverage detected