on-internet
← Community

MariaDb does not support ANY_VALUE() function

Stack Overflow ·

I have a laravel project which is connected to mysql db, when I change my server, my codes got failed because my new server has a Mariadb, when I checked my logs, I have realised that, there is some unsupported function from MariaDb which is ANY_VALUE(), how can I edit my sql according to MariaDb ? select(DB::raw('SUM(price) as price, SUM(price_now) as price_now, ANY_VALUE(price_available) as price_available'),'adult_count') error log

Comments

Sign in or sign up to comment and upvote.

No comments yet.