Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to search for unknown key(auto generated array index) #25

Open
MR-omid opened this issue Jun 28, 2017 · 0 comments
Open

how to search for unknown key(auto generated array index) #25

MR-omid opened this issue Jun 28, 2017 · 0 comments

Comments

@MR-omid
Copy link

MR-omid commented Jun 28, 2017

hi tom,
user post form with value like this:

product[name]='name';
product[color][0]='red';
product[color][1]='blue';

i save colors to dynamic field and want to search for all

product where color is blue

or

product where color is blue and/or black

how to write query for this?
note: i tested find_in_set and locate(if store colors as comma seperated list), but performance and multi value search issue.
thanks and sorry for very poorly en :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant