Skip to content

Multiple conditions by subselects are skipped #109

@norbe

Description

@norbe

If I call multiple times

$context->table('product')
      ->where('product.id', $selection1)
      ->where('product.id', $selection2);

only first condition is used and second is skipped.

Its caused by this line of SqlBuilder, as json_encode convers selection to '{}' string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions