Answer the question
In order to leave comments, you need to log in
Why doesn't the JSON_CONTAINS function work in MariaDB?
Here is an example sql query:
$this->db->query("SELECT * FROM `" . DB_PREFIX . "custom_fields_option` WHERE JSON_CONTAINS(option_in_show, '{\"id\":\"15\"}')");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question