How get count items in model?


Hi, I’m doing a server like this example
I have a scheme

type Game {
  id: ID!
  name: String!
  excerpt: String

type Query {
    games: [Game!]!

and I need to get the number of entries Game.
How to do it using typescript and generated client ?


Hi @Garik

You can use aggregation for this. ’



This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.