WithPasskey tells the query-builder to eager-load the nodes that are connected to the "passkey" edge. The optional arguments are used to configure the query builder of the edge.
(opts ...func(*PasskeyQuery))
| 528 | // WithPasskey tells the query-builder to eager-load the nodes that are connected to |
| 529 | // the "passkey" edge. The optional arguments are used to configure the query builder of the edge. |
| 530 | func (uq *UserQuery) WithPasskey(opts ...func(*PasskeyQuery)) *UserQuery { |
| 531 | query := (&PasskeyClient{config: uq.config}).Query() |
| 532 | for _, opt := range opts { |
| 533 | opt(query) |
| 534 | } |
| 535 | uq.withPasskey = query |
| 536 | return uq |
| 537 | } |
| 538 | |
| 539 | // WithTasks tells the query-builder to eager-load the nodes that are connected to |
| 540 | // the "tasks" edge. The optional arguments are used to configure the query builder of the edge. |
no test coverage detected