Define Casts in a Query - Post Image

Define Casts in a Query Community 754 clicks

Laravel has Eloquent attribute and custom casting. But did you know about query-time casting? It's documented in Laravel, and illustrated beautifully by Aaron Francis.

laravel-news.com