Replies: 2 comments 4 replies
-
Sounds like a good change 👍 But you can't change the I prefer a new interface with params like |
Beta Was this translation helpful? Give feedback.
-
Yes, chaining multiple bitwise operators is mathematically valid... also checked on my local mariadb to confirm it doesn't complain. Is this an update you'll be handling or is a PR welcome? |
Beta Was this translation helpful? Give feedback.
-
I found myself needing to perform an
Add
on three columns and ended up having to do:It would've been nice to do:
In general, to be able to specify more than two parameters (variable-length argument) with the arithmetic expressions. Would this be a welcomed enhancement? Or would this compromise the ability to support different databases?
It would involve changing the
OperatorExpression
's constructor (or introducing aMultiOperatorExpression
since this wouldn't apply to all) to the effect of:Leveraging PHP's "Type declared variable arguments".
Would love to hear your thoughts on this.
Beta Was this translation helpful? Give feedback.
All reactions