Hello, I’m new to Prisma, I’m building a project w...
# orm-help
a
Hello, I’m new to Prisma, I’m building a project with a new version beta 2 but I’m having difficulty without being able to check all queries paths as GraphQl Playground shows in the Docs tab. Someone can help me about query relation?
s
instead of
every
you need to use
some
.
a
Did not work =/
@Sachin Jani
Copy code
prisma.category.findMany({
  where: {
    baskets: {
      some: {
        foods: {
          some: {
            published: true
          }
        }
      }
    }
  }
})
like this return some the foods empty
s
oh then do file an issue in the prisma repo the team will look into it.