Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dbcfd
· 13y ago · 0 comments
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?
Comments
[–]
jessedhillon
13y ago
select ... where "pizza" in person -> favFoods
[–]
jessedhillon
13y ago
Sorry I'm stupid, I was thinking Python
select ... where person -> favFood in ("pizza")