Hi, In the following query: ```const usersWithCo...
# orm-help
m
Hi, In the following query:
Copy code
const usersWithCount = await prisma.user.findMany({
  select: {
    _count: {
      select: { posts: true },
    },
  },
})
Is it possible to get the count of posts based on a filter such as posts where
status:'published'
? Thanks!
r
@Manish 👋 Currently not, but do follow this request for updates 🙂
m
Ok thank you!