Prisma 1 Forum

Orderby Relationship Meta-Field count?

Is it possible to order a query by it’s included _votesMeta-Field count?
Or do i have to create a count-field on Link that i update in case of running a mutation
that creates a vote on Link? Seems to be a possible solution, but is possible overhead
as the _votesMeta-Field is already available… Like:

  allLinks( orderBy: _votesMeta_count_ASC ) {
    _votesMeta {

thx, in advance!

This is currently not possible and needs to be done in the client instead.

Thanks for the response… thought so… Solved it for me by introducing a count-object, which holds the value of the meta-field-count.

Is there any movement on this? Is this in the issues?