sodiray / dynofunc

Functional library for creating and sending dynamo requests on top of boto3
MIT License
9 stars 3 forks source link

Need a FilterExpression for query operation #16

Open sodiray opened 4 years ago

sodiray commented 4 years ago

Boto3 supports a filter expression on the query operation. We need to implement this. Should be easy, docs here say

The syntax for a filter expression is identical to that of a condition expression. Filter expressions can use the same comparators, functions, and logical operators as a condition expression.

sodiray commented 4 years ago

Should be easy

I have never been more wrong. I read over those docs and thought 'condition expression' referred to KeyConditionExpression. I was wrong. The KeyConditionExpression is a small set of conditions that are allowed specifically for keys attributes. 'condition expression' is a new set of conditions we will need to implement.

See condition expression docs

sodiray commented 4 years ago

@useevil you can watch this for FilterExpression progress. It's going to be a bit more than I initially thought.