0

I have a collection of authors. Some authors have written blogs, others have not. I can reference the total amount of blogs they've written using:

query {
  authorCollection {
    linkedFrom {
       blogCollection {
         total
       }
    }
  }
}

What I want, however, is a list of authors with more than 1 blog post. Some have written blogs, others have not. How can I filter the query to do so? Ive tried something like this but this is not possible:

query {
  authorCollection(where: {linkedFrom: //This is not an available option}) {
    linkedFrom {
       blogCollection {
         total
       }
    }
  }
}
journalsup
  • 138
  • 1
  • 10
  • Show the `authorCollection` query definition in schema. It's not SQL. If the schema doesn't have a "where" filter for this query, you can't do that. – Denis Artyushin Jan 13 '23 at 08:37

0 Answers0