Answer the question
In order to leave comments, you need to log in
How to search by JSON in MariaDB?
Hello! I have a table with records in my database (MariaDB), each record has a field with tags. The tags are written as a JSON array. It looks something like this:
id | tags
---+-------
1 | ["first", "second", "third"]
2 | ["first", "target", "second", "third"]
3 | ["foo", "bar"]
id | tags
---+-------
2 | ["first", "target", "second", "third"]
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