Describe the bug
Current Behavior:
If an array of conditions are passed to DynamoDbQueryBuilder::where(), only the first condition is stored in DynamoDbQueryBuilder::$wheres, and thus, the additional conditions are not applied to the query.
Expected:
All conditions in the array are applied to the query.
I've opened a pull request here: #180
Version info
- Laravel: 5.5
- laravel-dynamodb: latest