I'm trying to work out what advantages there are to using filter expressions for the DynamoDB Query
operation.
I understand that it's used to refine the results of a query, as explained here: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.html#Query.FilterExpression. But this also says that the same limits apply before the filter, so don't gain anything in terms of reduced read capacity consumption or overcoming the 1MB-per-query limit.
Why would I use this over in-built language features, like Scala's filter
?