Scan applies the selector query and scans the result into the given value.
(ctx context.Context, v any)
| 780 | |
| 781 | // Scan applies the selector query and scans the result into the given value. |
| 782 | func (nvs *NodeVersionSelect) Scan(ctx context.Context, v any) error { |
| 783 | ctx = setContextOp(ctx, nvs.ctx, ent.OpQuerySelect) |
| 784 | if err := nvs.prepareQuery(ctx); err != nil { |
| 785 | return err |
| 786 | } |
| 787 | return scanWithInterceptors[*NodeVersionQuery, *NodeVersionSelect](ctx, nvs.NodeVersionQuery, nvs, nvs.inters, v) |
| 788 | } |
| 789 | |
| 790 | func (nvs *NodeVersionSelect) sqlScan(ctx context.Context, root *NodeVersionQuery, v any) error { |
| 791 | selector := root.sqlQuery(ctx) |
no test coverage detected