1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00

Week 11/2022

This commit is contained in:
Samuel Štancl 2022-03-20 20:41:25 +01:00
parent 4af817e2b0
commit b451d14953
12 changed files with 135 additions and 1 deletions

View file

@ -0,0 +1,13 @@
---
title: 'You can define casts for specific Eloquent queries'
tweet_id: '1505269894434021376'
thread_slug: weekly-thread-2022-11
author_username: cosmeescobedo
images:
- 'https://pbs.twimg.com/media/FNwBsytVkAAovTB.jpg'
created_at: 2022-03-19T19:48:04+00:00
slug: you-can-define-casts-for-specific-eloquent-queries
---
🔥 #Laravel Query Time Casting
We all know you can add casts to your eloquent models, but did you know you can add casts to a specific query?