Slow query due to relation

See:

We plan to do a database refresh in Q3, depending on your need, I suggest filtering and paging articles based on a category. Example with REST would be something like:

example.com/articles?category=someID

That’s a basic example, using a basic filter but it can also be done this way with GraphQL also.


You are correct in that right now the query in GQL is inefficient because it fetches everything from the DB and filters in Javascript, our database fresh will address this.

1 Like