WithOwner tells the query-builder to eager-load the nodes that are connected to the "owner" edge. The optional arguments are used to configure the query builder of the edge.
(opts ...func(*AlertQuery))
| 284 | // WithOwner tells the query-builder to eager-load the nodes that are connected to |
| 285 | // the "owner" edge. The optional arguments are used to configure the query builder of the edge. |
| 286 | func (_q *MetaQuery) WithOwner(opts ...func(*AlertQuery)) *MetaQuery { |
| 287 | query := (&AlertClient{config: _q.config}).Query() |
| 288 | for _, opt := range opts { |
| 289 | opt(query) |
| 290 | } |
| 291 | _q.withOwner = query |
| 292 | return _q |
| 293 | } |
| 294 | |
| 295 | // GroupBy is used to group vertices by one or more fields/columns. |
| 296 | // It is often used with aggregate functions, like: count, max, mean, min, sum. |
no test coverage detected