Ignore Empty Conditions
Override Prisma's default behavior when the OR block is empty.
Feature Effect
Query Input
{
where: {
id: 2,
OR: [],
posts: {
every: {
OR: [{ id: 2 }, { id: 3 }]
}
}
}
}Query Result
Last updated