question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Preview feature feedback: Filtering JSON fields (`filterJson`)

See original GitHub issue

Please share your feedback about the filterJson functionality released in v2.23.0 in this issue.

  • If you encounter a bug, please open a bug report in this repo.
  • If the feature is working well for you, please share this in a comment below or leave a 👍 on this issue.

If you have any questions, don’t hesitate to ask them in the #prisma-client channel in the Prisma Slack.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:5
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
andrewtran1995commented, Jun 1, 2021

Loving this feature so far! ❤️ The Prisma client documentation specifies that filtering on an object key inside of an array is only currently supported for the MySQL database connector.

Are there plans to expand this to other connectors as well, particularly PostgreSQL?

7reactions
Pehesi97commented, Jun 1, 2021

This feature is missing case insensitivity support (at least for PostgreSQL, since I used to specify the mode field to enable it for other field types)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with Json fields (Concepts) - Prisma
0.0: advanced Json filtering is a preview feature. Add previewFeatures = ["filterJson"] to your schema. Learn more. Before v2.23.0: you can filter on...
Read more >
Solved: How does the table binding (or JSON filter string)...
Solved: I'm evaluating the new Power BI integration which is at the time of this writing "in preview". The overall integration works fine....
Read more >
How to filter JSON Data in JavaScript or jQuery?
Iterate and filter: $.each(JSON.parse(json), function (idx, obj) { if (obj.website == 'yahoo') { // do whatever you want } });.
Read more >
Filtering fields for a JSON output in SSJS
Function.ParseJSON(Stringify(dataRows)) } //else conditions etc removed Write(Platform.Function.Stringify(JsonOut));.
Read more >
Using JSON Filtering - YouTube
JSON Filtering is a new feature at Prisma 2.23 which allows you to filter through data stored in JSON columns. In this video,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found