Scan applies the selector query and scans the result into the given value.
(ctx context.Context, v any)
| 649 | |
| 650 | // Scan applies the selector query and scans the result into the given value. |
| 651 | func (_g *UserGroupBy) Scan(ctx context.Context, v any) error { |
| 652 | ctx = setContextOp(ctx, _g.build.ctx, ent.OpQueryGroupBy) |
| 653 | if err := _g.build.prepareQuery(ctx); err != nil { |
| 654 | return err |
| 655 | } |
| 656 | return scanWithInterceptors[*UserQuery, *UserGroupBy](ctx, _g.build, _g, _g.build.inters, v) |
| 657 | } |
| 658 | |
| 659 | func (_g *UserGroupBy) sqlScan(ctx context.Context, root *UserQuery, v any) error { |
| 660 | selector := root.sqlQuery(ctx).Select() |
nothing calls this directly
no test coverage detected