Open RobertCraigie opened 3 years ago
This is no longer a candidate due to: https://github.com/prisma/prisma-engines/issues/2435
We need to implement #99 before supporting this so that we can raise a runtime error ourselves when an invalid type is detected.
I do not want the user to be able to easily crash the query engine.
Problem
Prisma supports filtering by the values of json fields, we should support it too.
Suggested solution
As the syntax for json filtering differs between database connectors, we should either create a wrapper that normalizes values or leave it up to the user like prisma does.
PostgreSQL
MySQL
Additional context
full json filter reference working with json fields MySQL syntax PostgreSQL json