Why I Stopped Using Raw SQL Date Functions and Switched to Carbon in Laravel
It Started With a Bug When I was building VMMS — a voucher management system MySQL. Clean queries. Fast results. Then I deployed to a server running MariaDB. Half my charts broke. I had written date queries like this all over the codebase: // This breaks on MariaDB DB::table('voucher_transactions
ORIGINAL SOURCE →via Dev.to
ADVERTISEMENT
⚡ STAY AHEAD
Events like this, convergence-verified across 689 sources, land in your inbox every Sunday. Free.
GET THE SUNDAY BRIEFING →RELATED · energy
- [ENERGY] Wemby laments energy misuse amid historic night
- [ENERGY] Viper Energy declares $0.38 dividend
- [ENERGY] Meta, EDPR NA sign PPA for 250MW Cypress Knee solar project
- [ENERGY] Astronomers May Have Detected an Atmosphere Around a Tiny, Icy World Past Pluto
- [ENERGY] Thailand scraps 25-year-old agreement with Cambodia on joint energy exploration
- [ENERGY] ACEN, GCash, Ilocos Norte launch first province-led rooftop solar program