Philipp Klein
08/12/2022, 11:56 AMprisma.foo.findMany({
where: {
data: {
meta: Prisma.AnyNull,
},
},
})
I get
Object literal may only specify known properties, and 'data' does not exist in type 'FooWhereInput'
if i try to do:
prisma.foo.findMany({
where: {
meta: Prisma.AnyNull,
},
})
I get:
[tsserver 2322] [E] Type 'AnyNull' is not assignable to type 'JsonNullableFilter'.
What am I missing?Philipp Klein
08/12/2022, 12:00 PMprisma.foo.findMany({
where: {
meta: {
equals: Prisma.AnyNull,
},
},
})
is the documentation out of date in this regards?Nurul
08/16/2022, 11:35 AMPhilipp Klein
08/16/2022, 2:52 PMNurul
08/18/2022, 7:03 AM