Replies: 4 comments 1 reply
-
This could also have implication on the generated SQL? Or even affect the resulting SQL functionally (albeit only slightly) ? |
Beta Was this translation helpful? Give feedback.
-
I think this could be problematic because you could write something like this: Edit: |
Beta Was this translation helpful? Give feedback.
-
cxvxg |
Beta Was this translation helpful? Give feedback.
-
So it's been submitted a few times. Would love to see this though. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
We've got quite a few tables with some booleans columns, so we often use
where('is_paid', true)
and similar in our queries. But I think something likewhereTrue('is_pad')
is more readable.This poll is to find out whether we do think it would be useful. If so, then I will create a PR and we then discuss the name of the methods, if we want some alias, etc.
64 votes ·
Beta Was this translation helpful? Give feedback.
All reactions