IDsX is like IDs, but panics if an error occurs.
(ctx context.Context)
| 243 | |
| 244 | // IDsX is like IDs, but panics if an error occurs. |
| 245 | func (_q *UserQuery) IDsX(ctx context.Context) []uuid.UUID { |
| 246 | ids, err := _q.IDs(ctx) |
| 247 | if err != nil { |
| 248 | panic(err) |
| 249 | } |
| 250 | return ids |
| 251 | } |
| 252 | |
| 253 | // Count returns the count of the given query. |
| 254 | func (_q *UserQuery) Count(ctx context.Context) (int, error) { |