0

This is possible in prisma ?

organization model has one array of store store model has one array of phones

`
const organization = await this.prisma.organization.create({
  data: {
    name: accountForm.name,
    clifor: accountForm.clifor,
    store: {
      createMany:({
        data: stores 
      }),
      phones:{
        createMany({
          data: phones
        })
      }  
    }
  }
})`

I dont found this in documentation of prisma.

0 Answers0