{
"Actor": {
"knownlanguages": [
"English"
]
}
}
This JSON is stored in JSON columntype of MySQL with name data
.
My question is how to check whether knownlanguages
key contains value English
from JSON datatype of MySQL using query?
you can use
like
keyword with wildcard%
NOTE:
this won't search in JSON field
knownlanguages
, but in columndata