You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The class mentioned checks for the MySQLPlatform. However, MariaDb now only belongs to it in an abstract way. It would have to check for AbstractMySQLPlatform.
The text was updated successfully, but these errors were encountered:
Why doesn't this package have some JSON functions that have afaik same syntax as in MySQL. JSON_LENGTH or JSON_CONTAINS for example ?
I did a quick fix and what I did is to copy-paste whole classes and link it in doctrine.yaml config if you're using Symfony. They need to extend from MariaDbJsonFunctionNode
The MariaDB JSON functions are no longer processed as of doctrine/dbal:4.0 because the platform abstraction has changed there.
\Scienta\DoctrineJsonFunctions\Query\AST\Functions\Mariadb\MariadbJsonFunctionNode::validatePlatform
The class mentioned checks for the MySQLPlatform. However, MariaDb now only belongs to it in an abstract way. It would have to check for AbstractMySQLPlatform.
The text was updated successfully, but these errors were encountered: