hello, I would like to kindly ask if there is a wa...
# prisma-client
n
hello, I would like to kindly ask if there is a way to apply a helper method when you try to get nested data with a relational db. the helper method applies some data transformation
Copy code
return this.prisma.test.findUnique({
  where: {
    id: params.id,
  },
  include: {
    test1: {
      include: {
        test2: transformationHelper()
      }
    }
  }