Darkyne
01/27/2022, 8:25 PMwhere: {
AND: [
...categories!.map((value) => ({ categories: { some: { description: { contains: value } } } })),
]
},
and no, some or every will not suffice (at least not in its most basic form)
hasEvery would be preferable but it seems to only be available to scalar fields or mongodb relations
(I use postgresql)Maciek K
01/27/2022, 8:29 PMDarkyne
01/27/2022, 8:29 PMDarkyne
01/27/2022, 8:29 PMMaciek K
01/27/2022, 8:30 PMDarkyne
01/27/2022, 8:30 PMDarkyne
01/27/2022, 8:31 PM