You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is this feature about (expected vs actual behaviour)?
PHP 8 added the Nullsafe operator (https://wiki.php.net/rfc/nullsafe_operator) - unfortunately none of the query functions currently return null. maybe you'll find the Nullsafe operator useful as well and might consider adding corresponding functions like findOrNull() & findOneOrNull()? thanks :-)
that would allow performant chaining of complex queries:
accidentially this already partially works (due to #63) but I feel like having proper null returning functions might be more performant as the Nullsafe operator can abort early on.
Does it take minutes, hours or days to fix?
minutes
The text was updated successfully, but these errors were encountered:
What is this feature about (expected vs actual behaviour)?
PHP 8 added the Nullsafe operator (https://wiki.php.net/rfc/nullsafe_operator) - unfortunately none of the query functions currently return
null
. maybe you'll find the Nullsafe operator useful as well and might consider adding corresponding functions likefindOrNull()
&findOneOrNull()
? thanks :-)that would allow performant chaining of complex queries:
accidentially this already partially works (due to #63) but I feel like having proper null returning functions might be more performant as the Nullsafe operator can abort early on.
Does it take minutes, hours or days to fix?
minutes
The text was updated successfully, but these errors were encountered: