All executes the query and returns a list of Referrers.
(ctx context.Context)
| 234 | |
| 235 | // All executes the query and returns a list of Referrers. |
| 236 | func (_q *ReferrerQuery) All(ctx context.Context) ([]*Referrer, error) { |
| 237 | ctx = setContextOp(ctx, _q.ctx, ent.OpQueryAll) |
| 238 | if err := _q.prepareQuery(ctx); err != nil { |
| 239 | return nil, err |
| 240 | } |
| 241 | qr := querierAll[[]*Referrer, *ReferrerQuery]() |
| 242 | return withInterceptors[[]*Referrer](ctx, _q, qr, _q.inters) |
| 243 | } |
| 244 | |
| 245 | // AllX is like All, but panics if an error occurs. |
| 246 | func (_q *ReferrerQuery) AllX(ctx context.Context) []*Referrer { |
no test coverage detected