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

Method One

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

Source from the content-addressed store, hash-verified

160}
161
162func (pag *paginator) One(dest interface{}) error {
163 pq, err := pag.buildWithCursor()
164 if err != nil {
165 return err
166 }
167 return pq.sel.One(dest)
168}
169
170func (pag *paginator) Iterator() db.Iterator {
171 pq, err := pag.buildWithCursor()

Callers

nothing calls this directly

Calls 2

buildWithCursorMethod · 0.95
OneMethod · 0.65

Tested by

no test coverage detected