Support for MariaDB: whereJsonContains, etc. #52054
-
MariaDB is supposed to be a drop-in replacement for MySQL. However, some Laravel features are implemented for MySQL, but not for MariaDB, according to the docs:
Why is this the case? Is there a prerequisite missing from MariaDB, or is the feature just not implemented by Laravel yet? As MariaDB is supposed to ensure a free SQL implementation in the open source space, it would be desirable for Laravel have full MariaDB support. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @wq9578, Since then, there have been multiple PRs to support MariaDB. I'll check again, but all these JSON queries should also work with MariaDB. |
Beta Was this translation helpful? Give feedback.
Hi @wq9578,
Good catch. When this part of the docs was written, Laravel didn't officially support MariaDB. That's why it isn't mentioned.
Since then, there have been multiple PRs to support MariaDB. I'll check again, but all these JSON queries should also work with MariaDB.