jasci
05/31/2021, 8:13 PMfields on relation attribute it should refer to the name of the field in the database or in the prisma schema ( if I use @map on some field, therefore different names in the db and 'schema.prisma' file and want to use it in fields ) ?
@relation(fields: [someFieldName], references: [id])
someFieldName - field name from 'schema.prisma' or actual db field's name ?
Thank you.Omar Hamdan
06/01/2021, 12:45 AMRyan
06/01/2021, 6:14 AMjasci
06/01/2021, 7:41 AM