Addition of a whereOrNull method #45130
Unanswered
sdsmith1981
asked this question in
Ideas
Replies: 2 comments 1 reply
-
i'd suggest also adding an whereEmpty and a whereNotEmpty shortcut, as those are used often as well. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've found a lot of times in our code we were duplicating the same basic premise - a nested where that returns when a value matches or is null, so have added this to our service provider instead.
Would this be of use, worth creating a PR for?
Beta Was this translation helpful? Give feedback.
All reactions