Skip to content

Conversation

moufmouf
Copy link
Member

A IN expression with a parameter (like status IN (:statuses))
can now accept parameters... or not.

  • status IN (:statuses)
  • status IN :statuses

are now both valid.
Previously, the first was only valid in $magicQuery->buildPreparedStatement and the later was only valid in $magicQuery->build, which caused confusion.

A IN expression with a parameter (like `status IN (:statuses)`)
can now accept parameters... or not.

- `status IN (:statuses)`
- `status IN :statuses`

are now both valid.
Previously, the first was only valid in $magicQuery->buildPreparedStatement and the later was only valid in $magicQuery->build, which caused confusion.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 68.395% when pulling b284fdd on moufmouf:in_expression_parameter into d5fcdd8 on thecodingmachine:1.3.

@moufmouf moufmouf merged commit 2de0175 into thecodingmachine:1.3 Jul 10, 2019
@moufmouf moufmouf deleted the in_expression_parameter branch July 10, 2019 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants