()
| 210 | } |
| 211 | |
| 212 | func (pag *paginator) Query() (*sql.Rows, error) { |
| 213 | pq, err := pag.buildWithCursor() |
| 214 | if err != nil { |
| 215 | return nil, err |
| 216 | } |
| 217 | return pq.sel.Query() |
| 218 | } |
| 219 | |
| 220 | func (pag *paginator) QueryContext(ctx context.Context) (*sql.Rows, error) { |
| 221 | pq, err := pag.buildWithCursor() |
nothing calls this directly
no test coverage detected