diff --git a/content/200-orm/500-reference/050-prisma-client-reference.mdx b/content/200-orm/500-reference/050-prisma-client-reference.mdx index d02bc906df..4ddbaa7343 100644 --- a/content/200-orm/500-reference/050-prisma-client-reference.mdx +++ b/content/200-orm/500-reference/050-prisma-client-reference.mdx @@ -4068,23 +4068,11 @@ All conditions must return `false`. #### Examples -##### Get all `Post` records where the `title` field contains `Prisma` or `databases`, but not `SQL` +##### Get all `Post` records where the `title` does not contain `SQL` ```js const result = await prisma.post.findMany({ where: { - OR: [ - { - title: { - contains: 'Prisma', - }, - }, - { - title: { - contains: 'databases', - }, - }, - ], NOT: { title: { contains: 'SQL',