WithMetas tells the query-builder to eager-load the nodes that are connected to the "metas" edge. The optional arguments are used to configure the query builder of the edge.
(opts ...func(*MetaQuery))
| 394 | // WithMetas tells the query-builder to eager-load the nodes that are connected to |
| 395 | // the "metas" edge. The optional arguments are used to configure the query builder of the edge. |
| 396 | func (_q *AlertQuery) WithMetas(opts ...func(*MetaQuery)) *AlertQuery { |
| 397 | query := (&MetaClient{config: _q.config}).Query() |
| 398 | for _, opt := range opts { |
| 399 | opt(query) |
| 400 | } |
| 401 | _q.withMetas = query |
| 402 | return _q |
| 403 | } |
| 404 | |
| 405 | // GroupBy is used to group vertices by one or more fields/columns. |
| 406 | // It is often used with aggregate functions, like: count, max, mean, min, sum. |
no test coverage detected