🔥 Laravel Tip: Prevent model hydration on Eloquent queries
Nov 18, 2022
If you want to take advantage of Eloquent features (ex: scopes, soft deletes, etc).
But you don't want the query to hydrate models for performance reasons. You can call the `toBase` method on your query.
But you don't want the query to hydrate models for performance reasons. You can call the `toBase` method on your query.
Other tips:
🔥 Laravel Tip: Channing Jobs
Apr 12, 2022
🔥 Laravel tip: Tables in commands
Apr 28, 2022