Magidoc

users_aggregate
Query

fetch aggregated fields from the table: "users"

Arguments

#

distinct_on

distinct select on columns

limit

limit the nuber of rows returned

offset

skip the first n rows. Use only with order_by

order_by

sort the rows by one or more columns

where

filter the rows returned

Response

#

Returns users_aggregate !.

Example

#

    query (
  $distinct_on: [users_select_column!]
  $limit: Int
  $offset: Int
  $order_by: [users_order_by!]
  $where: users_bool_exp
  $columns: [users_select_column!]
  $distinct: Boolean
) {
  users_aggregate(
    distinct_on: $distinct_on
    limit: $limit
    offset: $offset
    order_by: $order_by
    where: $where
  ) {
    aggregate {
      count(columns: $columns, distinct: $distinct)
    }
    nodes {
      id
      name
      rocket
      timestamp
      twitter
    }
  }
}

  

3