Scan applies the selector query and scans the result into the given value.
(ctx context.Context, v any)
| 575 | |
| 576 | // Scan applies the selector query and scans the result into the given value. |
| 577 | func (gcgb *GitCommitGroupBy) Scan(ctx context.Context, v any) error { |
| 578 | ctx = setContextOp(ctx, gcgb.build.ctx, ent.OpQueryGroupBy) |
| 579 | if err := gcgb.build.prepareQuery(ctx); err != nil { |
| 580 | return err |
| 581 | } |
| 582 | return scanWithInterceptors[*GitCommitQuery, *GitCommitGroupBy](ctx, gcgb.build, gcgb, gcgb.build.inters, v) |
| 583 | } |
| 584 | |
| 585 | func (gcgb *GitCommitGroupBy) sqlScan(ctx context.Context, root *GitCommitQuery, v any) error { |
| 586 | selector := root.sqlQuery(ctx).Select() |
nothing calls this directly
no test coverage detected