Issue #1539 : Fixing dynamodb filtering (contains, begins with)

Currently contains and begins with are not respecting the given filter value
This commit is contained in:
sawandas 2018-04-09 12:10:44 +05:30 committed by GitHub
parent 56f29a0e6e
commit 09ac77d979
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,6 +176,8 @@ def get_filter_expression(expr, names, values):
next_token = six.next(token_iterator)
while next_token != ')':
if next_token in values_map:
next_token = values_map[next_token]
function_list.append(next_token)
next_token = six.next(token_iterator)