0

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"]

1 Answer 1

1

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)";

Sign up to request clarification or add additional context in comments.

1 Comment

However I am unable to filter a map property

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.