3 ms·
What is the syntax on finding an array value matching some key? E.g. given a user with field "favFoods":[String], how do I determine that pizza is in there?
by dbcfd 13y ago
What is the syntax on finding an array value matching some key? E.g. given a user with field "favFoods":[String], how do I determine that pizza is in there?
- jessedhillon 13y agoselect ... where "pizza" in person -> favFoods
- jessedhillon 13y agoSorry I'm stupid, I was thinking Python select ... where person -> favFood in ("pizza")