Join Slack
Powered by
hey <@U57MHF6NB> there is a way to count, simply u...
# prisma-whats-new
n
nilan
05/15/2017, 5:05 PM
hey
@patstrz
there is a way to count, simply use the
_likesMeta { count }
field on the
Post
🙂
🦜 4
nilan
05/15/2017, 5:05 PM
example:
nilan
05/15/2017, 5:06 PM
Copy code
query { allPosts { _likesMeta { count } } }
p
patstrz
05/15/2017, 5:06 PM
Thanks nilan! exactly what I was looking for
n
nilan
05/15/2017, 5:06 PM
awesome!
2
Views
Open in Slack
Previous
Next