-
Hi, I'm trying to search in a Column with a value coming from a mySQL json field:
with no search result returns ... If I add a function in searchable like:
I also don't have any search results either... Any idea/suggestions ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
What are you getting in terms of the generated query? When pasting code, if you can please make sure to enclose your code with ``` on a new line either side, then this keeps the formatting and makes it easier to read. |
Beta Was this translation helpful? Give feedback.
-
I didn't understand clearly if this part works and display data or do you have issues here already?
You said no search results returns ... and I don't understand if its a For a simpler format I suggest using the $value passed in from "extra_info->city" attribute in that column by defining format like: Just to make sure it's not an issue of accessing the right node in json. If the first part of my suggestion doesn't apply I suggest you break down the complex query you mentioned by searching it directly on the db and trying to see where the issue happens |
Beta Was this translation helpful? Give feedback.
-
Well well, found the problem... |
Beta Was this translation helpful? Give feedback.
Well well, found the problem...
Where clause to Json data is case sensitive...
https://sarav.co/case-insensitive-search-in-mysql-json-columns