prisma-engines icon indicating copy to clipboard operation
prisma-engines copied to clipboard

feat: add case-insensitive support in advanced Json filtering

Open lubosmato opened this issue 6 months ago • 6 comments

The PR adds case field into Json filtering to allow case-insensitive text filtering with Json fields.

E.g.:

prisma.article.findMany({
  where: {
    title: {
      path: ["en"],
      string_contains: searchText,
      mode: "insensitive",
    },
  }
})

Fixes https://github.com/prisma/prisma/issues/7390

lubosmato avatar Aug 09 '24 14:08 lubosmato