With this DB Schema, is it possible to query for P...
# orm-help
c
With this DB Schema, is it possible to query for ProductReviews by FlightController ID where User.id === 12345?
j
something like this
Copy code
query {
  flightControllers(where: { productReviews_some: { user: { id: "12345"}}}) {
    productReviews: {
        etc
    }
  }
}
might work
you will need to query through prisma.$graphql and will get back an untyped object
actually looking at the docs, you could use this https://www.prisma.io/docs/reference/prisma-api/queries-ahwee4zaey