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

Method All

internal/sqlbuilder/paginate.go:150–160  ·  view source on GitHub ↗
(dest interface{})

Source from the content-addressed store, hash-verified

148}
149
150func (pag *paginator) All(dest interface{}) error {
151 pq, err := pag.buildWithCursor()
152 if err != nil {
153 return err
154 }
155 err = pq.sel.All(dest)
156 if err != nil {
157 return err
158 }
159 return nil
160}
161
162func (pag *paginator) One(dest interface{}) error {
163 pq, err := pag.buildWithCursor()

Callers

nothing calls this directly

Calls 2

buildWithCursorMethod · 0.95
AllMethod · 0.65

Tested by

no test coverage detected