feat: add case-insensitive support in advanced Json filtering#4977
feat: add case-insensitive support in advanced Json filtering#4977aqrln merged 5 commits intoprisma:mainfrom
Conversation
|
that would be some awesome to have |
jkomyno
left a comment
There was a problem hiding this comment.
Thanks for this PR! I've left a couple of comments for further iterations and better compatibility with the other database providers.
76913f0 to
db9cf81
Compare
|
@jkomyno thank you for review, would you find time for another round? Also I would like to ask you if you could point me to the right direction. I tried to hook up prisma client with locally built bins/libs to test this feature with I tried to set env vars What needs to be done in order to make |
fe1afb1 to
bc780f9
Compare
|
Hi @jkomyno, what are the next steps/is there anything else that needs to be done from my end? |
CodSpeed Performance ReportMerging #4977 will not alter performanceComparing Summary
|
This is slightly annoying to do, sorry for that. Prisma CLI (and generator) doesn't use the query engine to get the DMMF, it uses the WASM module (published as |
ef092ed to
105af6b
Compare
|
Hi @jkomyno, what needs to be done to finish this? |
1 similar comment
|
Hi @jkomyno, what needs to be done to finish this? |
|
@lubosmato could you please resolve the conflicts? The changes look good to me. |
|
@aqrln thank you for your time! rebased onto main. |
|
@lubosmato thanks! Would you mind opening a PR to the docs as well? We can also update them ourselves but then this probably won't make it into the next release and will have to go in 6.5.0. |
|
The dev connections team has confirmed they have time to write docs before tomorrow so no worries about that. I'll go ahead and merge this. Thanks a lot for the contribution! |
|
@jkomyno @aqrln Can you confirm that this shipped in 6.5.0? I am running 6.5.0 right now, but a query with the Also, FYI it is unclear from the relevant docs page whether this feature is actually available. It both gives instructions on the argument above and says in the FAQs section that it is unavailable. https://www.prisma.io/docs/orm/prisma-client/special-fields-and-types/working-with-json-fields |
|
@platform-kit this was shipped in 6.4.0. Please open an issue with a reproduction if it doesn't work for you. |

The PR adds
casefield into Json filtering to allow case-insensitive text filtering with Json fields.E.g.:
Fixes prisma/prisma#7390