LaravelDaily - Eloquent: The Expert Level
Год выпуска: 2022
Производитель: LaravelDaily
Сайт производителя: LaravelDaily.com
Автор: LaravelDaily
Продолжительность: 1 час 53 минуты
Тип раздаваемого материала: Видеоклипы
Язык: Английский
Описание:
№1 среди получаемых мной вопросов по Laravel, касается Eloquent.
- Как запросить X?
- Как лучше структурировать отношения?
- Как настроить X в моделях?
и т. д.
В этом 2-х часовом курсе вы найдете множество ответов на эти и другие вопросы.
Кроме того, вам будет раскрыто множество «скрытых жемчужин» Eloquent, о которых вы не знали раньше, позволяющиз быстрее выполнять некоторые операции с базой данных.
Мы поговорим о структуре модели, создании/выборе записей, расширенных связях и многом другом.
Итак, вы хотите перейти на следующий уровень знанияй Eloquent? Присоединяйтесь ко мне, изучайте мой курс!
Содержание
Eloquent Model Options and Settings
01 - php artisan make model - Less-Known Possible Options
02 - Singular or Plural Models What about multiple words
03 - Saving a Model $fillable or $guarded
04 - Model Properties Tables, Keys, Increments, Pages and Dates
05 - New in Laravel 9.21 php artisan model show
06 - Customize Model Default Template with Stubs
07 - Model $casts Dates, Enum and More
Creating and Updating Eloquent Records
08 - FirstOrCreate, and Other 2-in-1 Methods
09 - WasCreated, IsDirty and Other Checks If Model Was Changed
10 - Model Observers and Their Methods
11 - Attributes Accessors and Mutators with New_Old Syntax
12 - touch() Method To Work With updated_at
13 - Model API Docs and 3 More Random Methods
Querying and Filtering Data Effectively
14 - find(), all(), first() and Their Extra Options
15 - whereDate() and other whereX Methods
16 - Brackets Between and _ or Conditions
17 - Local and Global Scopes for Repeating Conditions
18 - Instead of Multiple If-Else, Use Eloquent When()
19 - Raw Queries as a Last Resort
Advanced Eloquent Relations
20 - Polymorphic Relations Explained with Example
21 - Advanced Polymorphic Many-to-Many
22 - Advanced BelongsToMany with Extra Pivot Table Features
23 - HasManyThrough 2-Level Deep hasMany
24 - Methods to Query Relationship Data
25 - Use withCount When Just Counting
26 - New Since Laravel 8.x LatestOfMany
Useful Packages to Extend Eloquent
27 - Spatie Query Builder and Alternative Eloquent Filter
28 - Spatie Laravel Searchable and Cross Eloquent Search
29 - HasManyDeep and Other Extra Relations
30 - Parental by Tighten Relationship to Self
31 - Cascade Soft Deletes Soft-Delete Children Automatically
32 - More Eloquent Packages You Can Explore
Файлы примеров: присутствуют
Формат видео: MPEG
Видео: MPEG-4 (mp42/isom/avc1) 1832x1080 30fps 514kbps
Аудио: AAC LC (mp4a-40-2) 48000Hz stereo 192kbps