A
A
Alexander2017-10-12 11:03:06
MySQL
Alexander, 2017-10-12 11:03:06

How to search in Mysql by json field, by array?

How to search by fields like ['1','2','3']
Let's say I need to select 1 field wherever the second field has the number 60, and the third has 80:
prntscr.com/gweb4r
In the database, the fields have the json type

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2017-10-12
@alexey-m-ukolov

https://dev.mysql.com/doc/refman/5.7/en/json-search...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question