Unread Notifications

Latest Notifications

No Notifications

You're all set! Start a discussion by leaving a comment on a lesson or replying to an existing comment.

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.

Watch on YouTube
GitHub
View Repository

🕑 Chapters

00:00 - Intro / Setup
00:30 - Method Overview
02:18 - All & Serialization Behavior
03:46 - Find & FindOrFail
05:02 - FindBy & FindByOrFail
05:52 - First
06:08 - FindMany
07:10 - Outro

Comment

Prepared By

Tom Gobich

Burlington, KY

Owner of Adocasts, JavaScript developer, educator, PlayStation gamer, burrito eater.

Visit Website