Scan applies the selector query and scans the result into the given value.
(ctx context.Context, v any)
| 697 | |
| 698 | // Scan applies the selector query and scans the result into the given value. |
| 699 | func (_s *GroupSelect) Scan(ctx context.Context, v any) error { |
| 700 | ctx = setContextOp(ctx, _s.ctx, ent.OpQuerySelect) |
| 701 | if err := _s.prepareQuery(ctx); err != nil { |
| 702 | return err |
| 703 | } |
| 704 | return scanWithInterceptors[*GroupQuery, *GroupSelect](ctx, _s.GroupQuery, _s, _s.inters, v) |
| 705 | } |
| 706 | |
| 707 | func (_s *GroupSelect) sqlScan(ctx context.Context, root *GroupQuery, v any) error { |
| 708 | selector := root.sqlQuery(ctx) |
no test coverage detected