SERIES
Let's Learn AdonisJS 5
-
Introduction
-
Routing
-
2.0Routing Introduction06:147:45
-
2.1Dynamic Routing with Route Parameters14:018:44
-
2.2Moving & Organizing Routes04:193:34
-
2.3Naming, Grouping, & Prefixing Routes08:286:32
-
2.4Multi-File Route Grouping Strategies05:314:28
-
2.5Generating URLs and Signed URLs13:508:23
-
2.6Extending the Adonis Router and Route Matchers15:449:29
-
2.7The Middleware Mountain12:4414:13
-
-
Controllers
-
Service Providers
-
Lucid ORM
-
5.0Introducing, Installing, and Configuring Lucid ORM10:005:05
-
5.1Migrations & Understanding the Flow of Migrations16:3515:21
-
5.2What To Know Before Altering Your Database with Migrations10:2610:35
-
5.3What Is A Model?12:4416:16
-
5.4Database Schema to Migration11:560:15
-
5.5Database Migrations To Lucid Models04:596:08
-
5.6Defining Model Relationships13:0316:16
-
5.7Creating Records with Lucid ORM12:370:16
-
5.8Password Hashing & Model Hook Overview00:13
-
5.9Easy Querying with Static Model Query Methods07:410:11
-
Let's Learn AdonisJS 5
Easy Querying with Static Model Query Methods
07:41 Watch
0:11 Read
In this lesson, we'll learn what static methods are available on our Lucid Models to help us easily query records from our database. These methods offer a convenient query option compared to the query builder.
🕑 Chapters
- Method Overview
- All & Serialization Behavior
- Find & FindOrFail
- FindBy & FindByOrFail
- First
- FindMany
- Outro
Comment
Prepared By
Tom Gobich
Burlington, KY
Owner of Adocasts, JavaScript developer, educator, PlayStation gamer, burrito eater.
Visit Website