AllX is like All, but panics if an error occurs.
(ctx context.Context)
| 244 | |
| 245 | // AllX is like All, but panics if an error occurs. |
| 246 | func (_q *ReferrerQuery) AllX(ctx context.Context) []*Referrer { |
| 247 | nodes, err := _q.All(ctx) |
| 248 | if err != nil { |
| 249 | panic(err) |
| 250 | } |
| 251 | return nodes |
| 252 | } |
| 253 | |
| 254 | // IDs executes the query and returns a list of Referrer IDs. |
| 255 | func (_q *ReferrerQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) { |