<@U97C7LGRH> you can use `info` parameter as the s...
# prisma-whats-new
m
@Ramsay Lanier you can use
info
parameter as the second argument of
.query
Copy code
count: {
      fragment: `fragment LikesCount on Post { id }`,
      resolve: async ({ id }, args, ctx: Context, info) => {
         const likes = await ctx.db.query.likesConnection(
            { where: { post: { id } } },
            ` { aggregate { count } } `,
         )

         return likes.aggregate.count
      }
   },