Laravel 10 Database Expression: Cross-Database SQL
Originally published at recca0120.github.io
MySQL and SQLite often use different function names for the same functionality -- for example, MySQL's IF() requires CASE WHEN in SQLite. Laravel 10's new Database Expression feature handles this elegantly....
recca0120.hashnode.dev2 min read