Filtering / querying the contents of a list in DynamoDB

I am trying to filter a DynamoDB request with the contents of the Map contained in the list. Here is an example of the structure I'm dealing with.

{ 'EventType': 'git/push' 'EventTime': 1416251010, 'Commits': [ { 'id': '29d02aff...', 'subject': 'Add the thing to the place' }, { 'id': '9d888fec...', 'subject': 'Spelling errors' }, ... ] } 

The EventType hash key and the EventTime range EventTime . I am trying to write a filter that filters the result of a request to a specific id . Is it possible to create a DynamoDB filter expression that correctly filters the query as follows? (My first thought was to use contains (a, a) , but I don’t think this would work in a list of maps.)

+7
source share
2 answers

This language is currently not supported by the DynamoDB API expression language (as of November 2014), but there are some workarounds mentioned here .

+4
source

did you solve this problem Could you share the answer, because I am now dealing with this issue. Thanks!

0
source

Source: https://habr.com/ru/post/1207064/


All Articles