In this lesson, I'll highlight a few of my favorite Model Query Builder Macros that I carry with me from project to project. Have a favorite of your own? Let me know in the comments!
👍 If You Enjoy This Video, Consider Hitting The Like Button!
🥁 Subscribe: https://www.youtube.com/adocasts?sub_...
📕 View on Adocasts: https://adocasts.com/lessons/my-favor...
🎬 Check Out More Videos Here:
Model Hook Overview: • Let's Learn AdonisJS 5: Ep 5.8 - Password ...
Creating Records: • Let's Learn AdonisJS 5: Ep 5.7 - Creating ...
Model Relationships: • Let's Learn AdonisJS 5: Ep 5.6 - Defining ...
Migration to Model: • Let's Learn AdonisJS 5: Ep 5.5 - Database ...
What Is A Model?: • Let's Learn AdonisJS 5: Ep 5.3 - What Is A...
🕑 Chapters
00:00 - Intro & Explanation
01:03 - Macro WhereTrue & WhereFalse
02:50 - Macro Any
04:35 - Macro SelectCount
06:10 - Macro SelectIds
07:40 - Macro SelectId
08:23 - Macro SelectIdOrFail
09:00 - Macro Outro
-------------------------Socials--------------------------
🕸️ Website: https://adocasts.com
🐘 Mastodon: https://fosstodon.org/@adocasts
🐦 Twitter: / adocasts
📫 Post: https://post.news/tomgobich
👍 GitHub: https://github.com/adocasts