Using a graphql paginated resolver I would like to return something similar to @databrecht solution in sql-group-by-having-counterpart-in-faunadb where he gets a
Filter to work using
Count, but the result is an Array instead of a Set, so I can’t use
Paginate to return the results in the paginated resolver.
I wonder if I need to convert the results into a Set. But how would I do that? I can get an array of Refs from the results but then how to make it