(ctx context.Context)
| 177 | } |
| 178 | |
| 179 | func (pag *paginator) IteratorContext(ctx context.Context) db.Iterator { |
| 180 | pq, err := pag.buildWithCursor() |
| 181 | if err != nil { |
| 182 | sess := pq.sel.(*selector).SQL().sess |
| 183 | return &iterator{sess, nil, err} |
| 184 | } |
| 185 | return pq.sel.IteratorContext(ctx) |
| 186 | } |
| 187 | |
| 188 | func (pag *paginator) String() string { |
| 189 | pq, err := pag.buildWithCursor() |
nothing calls this directly
no test coverage detected