WithStorageFile tells the query-builder to eager-load the nodes that are connected to the "storage_file" edge. The optional arguments are used to configure the query builder of the edge.
(opts ...func(*StorageFileQuery))
| 351 | // WithStorageFile tells the query-builder to eager-load the nodes that are connected to |
| 352 | // the "storage_file" edge. The optional arguments are used to configure the query builder of the edge. |
| 353 | func (nvq *NodeVersionQuery) WithStorageFile(opts ...func(*StorageFileQuery)) *NodeVersionQuery { |
| 354 | query := (&StorageFileClient{config: nvq.config}).Query() |
| 355 | for _, opt := range opts { |
| 356 | opt(query) |
| 357 | } |
| 358 | nvq.withStorageFile = query |
| 359 | return nvq |
| 360 | } |
| 361 | |
| 362 | // WithComfyNodes tells the query-builder to eager-load the nodes that are connected to |
| 363 | // the "comfy_nodes" edge. The optional arguments are used to configure the query builder of the edge. |
no test coverage detected