laravel-eloquent-case
laravel-eloquent-case copied to clipboard
Multiple Conditions on WHEN
The following syntax is not currently possible to achieve without making use of raw methods.
CASE WHEN price = 10 AND active = 1 THEN 20 END
I'm not sure on how best to achieve this, but this sort of syntax would be very helpful
@alexbowers can you please share a full code snippet here?