Reputation: 181
I have a table on DynamoDB and I am trying to return items with a certain tag. So lets say the following is my schema. How do I query for all objects with a tag "Queen" within the string list? My app is in objective c.
UserId: User
Location: London
Tags: ["Queen", "Royalty", "England"]
Upvotes: 0
Views: 1649
Reputation: 181
I discovered the solution to my problem. It was unclear to me how to write a filter expression without a basic operator. This solved my problem.
scanExpression.filterExpression = @"contains(Tags, :val)";
Upvotes: 1