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

Method Compile

internal/sqlbuilder/paginate.go:204–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202}
203
204func (pag *paginator) Compile() (string, error) {
205 pq, err := pag.buildWithCursor()
206 if err != nil {
207 return "", err
208 }
209 return pq.sel.(*selector).Compile()
210}
211
212func (pag *paginator) Query() (*sql.Rows, error) {
213 pq, err := pag.buildWithCursor()

Callers

nothing calls this directly

Calls 2

buildWithCursorMethod · 0.95
CompileMethod · 0.65

Tested by

no test coverage detected