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
It looks promising, but I think we might need to stop supporting older versions of Eloquent (< 8.x) to implement it smoothly. I'll give this some thought.
Having a support enum as a value in the query builder would be nice, just like the model.
i.e.
Transaction::filter('status', '=', StatusEnum::SUCCESS)->scan();
Instead of doing this, stating the string:
Transaction::filter('status', '=', StatusEnum::SUCCESS->value)->scan();
The text was updated successfully, but these errors were encountered: