How to have FilterExpression with multiple conditions in dynamodb
<p>I am trying to do table scan on dynamodb 
Below is the code which is in javascript</p>

<pre><code>var params = {
    TableName: 'Contacts',
    FilterExpression: 'begins_with(CustomerName,:value)OR begins_with(CustomerName,:val) ', 
    ExpressionAttributeValues: { 
        ':value': {'S':'S'},
        ':val':{'S':'E'},
      },
    Select: 'ALL_ATTRIBUTES', 
 };

 dynamodb.scan(params, function(err, data) {
    if (err) ppJson(err); // an error occurred
    else ppJson(data); // successful response
});
</code></pre>

<p>But I couldn't try the same using botot3.</p>

<p>Below is what I could achieve so far</p>

<pre><code>response = table.scan(
                  Select= 'ALL_ATTRIBUTES',
                  FilterExpression=Attr('CustomerName').begins_with("S") 
                  )
</code></pre>

<p>I couldn't understand how to add the OR condition. If I add, it shows error </p>