Search code examples
amazon-dynamodbdynamodb-queries

Filter stringset that contain string with substring?


My column value is a string set, how do i filter string set with string that contain a substring

For example

entry1 :

{
  ss : [
    "TRUE_item",
    "FALSE_item"
  ]
}

entry2 :

{
  ss : [
    "FASE_item",
    "FALSE_item"
  ]
}

How to i filter entry wihich contain ss that have an element contain TRUE, which in this case should return entry 1?


Solution

  • You cannot. You must give the entire value to match a string within a set.