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
ExpressionBuilder class has a method isNull() and it's based on equal operator. Why then we can't have a notNull() method based on miscellaneous operator? Is there any problem to compare result with '<>' operator?
If not, my suggestion of method is allegorical for isNull(), and looks like this:
/**
* @param string $field
*
* @return Comparison
*/
public function notNull($field)
{
return new Comparison($field, Comparison::NEQ, new Value(null));
}
The text was updated successfully, but these errors were encountered:
ExpressionBuilder class has a method isNull() and it's based on equal operator. Why then we can't have a notNull() method based on miscellaneous operator? Is there any problem to compare result with '<>' operator?
If not, my suggestion of method is allegorical for isNull(), and looks like this:
The text was updated successfully, but these errors were encountered: