Код: Выделить всё
[
{PID: 1, FIRST_NAME: "Bob", LAST_NAME: "Smith"},
{PID: 2, FIRST_NAME: "Betty", LAST_NAME: "Johns"}
]
Код: Выделить всё
String filterExpressionString = "contains(POLICY_HOLDERS, :POLICY_HOLDER)";
expressionAttributeValues.put(":POLICY_HOLDER",
AttributeValue.builder()
.m(Map.of("FIRST_NAME", AttributeValue.builder().s("Betty").build()))
.build());
Подробнее здесь: https://stackoverflow.com/questions/784 ... st-of-maps
Мобильная версия