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

Weekly thread #5-#7, use actual created_at timestamp in Thread creation (#27)

* Weekly thread #5

* Weekly thread #6 (before #5)

* Weekly thread #5

* Correct the weekly thread created_at timestamps

* Add actual created_at to Thread

* Weekly thread #7

* Fix weekly thread #7

* Remove thread #8
This commit is contained in:
lukinovec 2022-02-21 17:24:21 +01:00 committed by GitHub
parent e907eba3dd
commit 1a53831d4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 363 additions and 3 deletions

View file

@ -0,0 +1,11 @@
---
title: 'You can disable lazy loading using Model::preventLazyLoading()'
tweet_id: '1489620165201330177'
thread_slug: weekly-thread-2022-05
author_username: mattkingshott
images:
- 'https://pbs.twimg.com/media/FKlnRQ_XwAUqAxB.jpg'
created_at: 2022-02-04T15:21:37+00:00
slug: you-can-disable-lazy-loading-using-modelpreventlazyloading
---
🔥 #Laravel Tip: Protect your database from the dangers of lazy loading by disabling it in your Laravel app. You can also customise how violations are handled, which is perfect for models outside of your control e.g. within packages.