Eloquent Refreshes: Load Generated Columns After Save
- von Paul Redmond
- Veröffentlicht bei Laravel News
- Aufgenommen am
- Laravel Tutorials
Laravel's new Refreshes attribute reloads storedAs and virtualAs columns after create() and update(), so the model has the database value without refresh().
The post Eloquent Refreshes: Load Generated Columns After Save appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.