Moor (Room for Flutter) #2 – Advanced Queries & DAOs – Fluent SQLite Database @ResoCoder
Moor (Room for Flutter) #2 – Advanced Queries & DAOs – Fluent SQLite Database  @ResoCoder
Uploaded July 2019 | Updated November 2026, 3 hours ago
📗 Learn from the written tutorial & get the project files 👇👇
resocoder.com/flutter-moor-ep2

👨‍💻 Do you write good code? Find out now 👇
resocoder.com/good-code-quiz

Moor is a powerful library for using an SQLite database from your Flutter apps by writing pure Dart code. In the first part of this series, we've only touched the basics of this package. Let's now take a look at some of the more advanced queries and also how to keep your code clean by separating it into Data Access Objects.

All of the code for queries currently lives inside the AppDatabase class itself. At the moment, that's perfectly fine - we are only dealing with Tasks. We have to think into the future though. Once we would start adding comments, habits and who knows what else into the app, placing all of the queries together would create a mess.

To separate the queries dealing with tasks (and in the future, with comments and habits), we can use data access objects (DAOs). The functionality of the queries will remain unchanged, they will only be moved to a new and cleaner place.

Go to the website for more information, code examples, and articles:
● resocoder.com

Follow me on social media:
● instagram.com/resocoder
● facebook.com/resocoder
● twitter.com/resocoder
● gab.ai/resocoder
Moor (Room for Flutter) #2 – Advanced Queries & DAOs – Fluent SQLite DatabaseFlutter Firebase & DDD Course [8] - Sign-In Form UIFlutter TDD Clean Architecture Course [1] – Explanation & Project StructureFlutter: YouTube Search 07 - Single Video Model - BLoC Tutorial CourseStaggered Animations Made Simple – Flutter Simple Animations TutorialFlutter Firebase & DDD Course [16] - Watching Notes on FirestoreSoftware Architecture Will Save Your Apps - MVP, MVC, MVVM, BLoCFlutter NoSQL Database – SEMBAST Tutorial (w/ BLoC)Flutter BLoC Library Tutorial - Simple BLoC Pattern SolutionFlutter Hooks Tutorial – Hide FAB Animation – 100% Widget Code ReuseGson Android Kotlin Tutorial - Convert Interfaces to & from JSONFlutter AdMob Monetization – Banner and Interstitial Ads
Reso Coder |

Moor (Room for Flutter) #2 – Advanced Queries & DAOs – Fluent SQLite Database

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER