Prisma find many undefined
Hello,
In my other projet when i do
prisma.resource.findMany({select: ...}) the type is {id: string, createdAt: Date}[] but in a new project ( created just now with T3 ) when i do the same thing i got {id: string | undefined, createdAt: Date | undefined}[]Solution:Jump to solution
Hello,
In my other projet when i do
prisma.resource.findMany({select: ...}) the type is {id: string, createdAt: Date}[] but in a new project ( created just now with T3 ) when i do the same thing i got {id: string | undefined, createdAt: Date | undefined}[]...2 Replies