Scan applies the selector query and scans the result into the given value.
(ctx context.Context, v any)
| 449 | |
| 450 | // Scan applies the selector query and scans the result into the given value. |
| 451 | func (sgb *SettingGroupBy) Scan(ctx context.Context, v any) error { |
| 452 | ctx = setContextOp(ctx, sgb.build.ctx, "GroupBy") |
| 453 | if err := sgb.build.prepareQuery(ctx); err != nil { |
| 454 | return err |
| 455 | } |
| 456 | return scanWithInterceptors[*SettingQuery, *SettingGroupBy](ctx, sgb.build, sgb, sgb.build.inters, v) |
| 457 | } |
| 458 | |
| 459 | func (sgb *SettingGroupBy) sqlScan(ctx context.Context, root *SettingQuery, v any) error { |
| 460 | selector := root.sqlQuery(ctx).Select() |
nothing calls this directly
no test coverage detected