()
| 242 | } |
| 243 | |
| 244 | func (pag *paginator) Prepare() (*sql.Stmt, error) { |
| 245 | pq, err := pag.buildWithCursor() |
| 246 | if err != nil { |
| 247 | return nil, err |
| 248 | } |
| 249 | return pq.sel.Prepare() |
| 250 | } |
| 251 | |
| 252 | func (pag *paginator) PrepareContext(ctx context.Context) (*sql.Stmt, error) { |
| 253 | pq, err := pag.buildWithCursor() |
nothing calls this directly
no test coverage detected