AllX is like All, but panics if an error occurs.
(ctx context.Context)
| 366 | |
| 367 | // AllX is like All, but panics if an error occurs. |
| 368 | func (_q *WorkflowQuery) AllX(ctx context.Context) []*Workflow { |
| 369 | nodes, err := _q.All(ctx) |
| 370 | if err != nil { |
| 371 | panic(err) |
| 372 | } |
| 373 | return nodes |
| 374 | } |
| 375 | |
| 376 | // IDs executes the query and returns a list of Workflow IDs. |
| 377 | func (_q *WorkflowQuery) IDs(ctx context.Context) (ids []uuid.UUID, err error) { |