Skip to content

Passing array to DynamoDbQueryBuilder::where() adds only first condition #181

@mlcollins10

Description

@mlcollins10

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions