No video

Getting started with Isar DB - Introduction in Local DB

  Рет қаралды 25,721

Flutter Explained

Flutter Explained

Күн бұрын

Пікірлер: 46
@pauldavid2414
@pauldavid2414 Жыл бұрын
Thanks so much for not fiddling around with how you laid out your UI and wasting time with unnecessary boilerplate, instead focusing on the DB. Great work!
@biplabdutta
@biplabdutta 2 жыл бұрын
A small tip.. Instead of running the build-runner command time and again, you can run flutter pub run build_runner watch --delete-conflicting-outputs With this command, if you write some code that relies on code generation and just save the code, required code will be automatically generated. So, run once and keep generating code on every save. Saves a lot of time. And nice video.. 👏
@FlutterExplained
@FlutterExplained 2 жыл бұрын
Ah right the watch command :) did completely forgot about it :) thanks for sharing!
@sergey_molchanovsky
@sergey_molchanovsky Жыл бұрын
Code generation is sluggish :( Even better is to divide your code into packages (serializable models, isar entities, mobx stores etc.) and to use something like melos, to run a codegen in separate packages. That's how I do.
@biplabdutta
@biplabdutta Жыл бұрын
@@sergey_molchanovsky that's the way to do it in a large scale app. Yup.
@nihalanil4444
@nihalanil4444 Жыл бұрын
hey i am using vs code can you tell me why the command is not working
@hitheshchowdary4366
@hitheshchowdary4366 2 жыл бұрын
Awesome, i previously used to develop isar, without having any available video for isar guidance, this will be very helpful i see new ways of developing
@FlutterExplained
@FlutterExplained 2 жыл бұрын
I am super glad it helped you!
@FlutterExplained
@FlutterExplained 2 жыл бұрын
Hello again to another episode here on this channel. I was glad to work with Isar DB, and thanks once more to the creator Simon Leier (@simonleier) who helped me navigate around some interesting issues :). I hope you enjoyed the video.
@joshpetit
@joshpetit Жыл бұрын
Wow! What a fantastic tutorial. I absolutely love the style you have. Thank you a ton.
@FlutterExplained
@FlutterExplained Жыл бұрын
Thank you for the amazing feedback :).
@thebaconbreadful
@thebaconbreadful 2 жыл бұрын
Hey! You really fulled a niche with this video and did a great job doing so! It would really beneficial to link your a repository with the demo app. Also a tutorial would be nice showing how you could work around the weak points of isar e.g. if you have a more table like structure and maybe you'd even like to add rows dynamically. Thank you for the nice and clean tutorial.
@FlutterExplained
@FlutterExplained 2 жыл бұрын
You are most welcome. I am glad you liked the video. The repository is actually linked in the description. It is hosted on codeberg instead of github. codeberg.org/Flutter-Explained/isar-db-tutorial And I added your suggestion to my planned video list :)
@thebaconbreadful
@thebaconbreadful 2 жыл бұрын
@@FlutterExplained thanks for your response and consideration of my request! Yea, I overlooked the repo. Thanks again for relinking it for me.
@Raimkhodzhanov
@Raimkhodzhanov Жыл бұрын
Thank You, it was very interesting!
@RashiShah-z2b
@RashiShah-z2b 2 ай бұрын
Great stuff!
@muhamadhaydar2614
@muhamadhaydar2614 5 ай бұрын
Thanks for the explanation.
@tinabh
@tinabh Жыл бұрын
great stuff 😂 I guess it looks like Hive is not maintained anymore, so will try Isar and see if I get it to work.
@n-tech4605
@n-tech4605 Жыл бұрын
Thank you, being looking for this
@pravinprince3221
@pravinprince3221 Жыл бұрын
Thank you for the wonderful video sir it is very helpful for me and my team, Thanks again sir
@snooki9
@snooki9 7 ай бұрын
Great video, thanks for that :D
@Raimkhodzhanov
@Raimkhodzhanov Жыл бұрын
Thank You, very interesting!
@user-ix4jq3ef2v
@user-ix4jq3ef2v 2 ай бұрын
What if I have separation of concerns and make models have its own services like: PostService, CourseService, will the code remain the same in terms of opening/getting the instance of Isar?
@okokokokokok5173
@okokokokokok5173 2 жыл бұрын
I was looking for db like this that link the relationships directly, because i was using moor orm, or sqflite directly and it was so painful.
@FlutterExplained
@FlutterExplained 2 жыл бұрын
Great glad that I could help you here :)
@DraskoSaric
@DraskoSaric Жыл бұрын
Hi, great video! I am curious, why did you choose to use synchronous method for writing data into Isar over async approach? Is it safe to be sure that it won't affect the performance of UI main thread?
@FlutterExplained
@FlutterExplained Жыл бұрын
Hi, great question. It was not really intentional but and just wanted to make sure that the transaction is done afterwards and I can be sure that the data is there where I need them to showcase easier. If you do not need the data right away to move it into an async thread makes a lot of sense.
@DraskoSaric
@DraskoSaric Жыл бұрын
@@FlutterExplained I guess you can as well write `await isar.writeTxn(...)`, that way you will be sure that the transaction is done. Am I correct?
@returnZeroo
@returnZeroo 2 жыл бұрын
I couldn't open isar inspector on web like you.
@FlutterExplained
@FlutterExplained 2 жыл бұрын
Please check if you are working on the Isar DB version 3+ because the Web Inspector got introduced there. YOu can download the Isar Inspector as a standalone for Version 2.x github.com/isar/isar/releases/tag/2.5.0
@marasontleitu6415
@marasontleitu6415 5 ай бұрын
I trying to store color user choose but isar don't support , so need to change to string or int i will so happy if isar support color.
@roslanamir9760
@roslanamir9760 Жыл бұрын
Dear Flutter Explained: Thanks for the video. I am working on a Flutter app for Windows desktop and I implemented Isar according to this video. Works great. But I have a problem which you may be able to help. I want to do a query to call the aggregate function to find the max value of a column. The Isar documentation suggests the .max() function but no example is given. I has asked at StackOverflow but nobody answered.
@treadingview352
@treadingview352 2 жыл бұрын
Complete series
@shehryarkhan7555
@shehryarkhan7555 Жыл бұрын
Thanku for the isar DB tutorial How can we delete single subject not all of them for the DB
@sergey_molchanovsky
@sergey_molchanovsky Жыл бұрын
by ID
@irhasdev
@irhasdev Жыл бұрын
What happen if linked entity was deleted? is its the data can still be seen?
@LeeCasey
@LeeCasey Жыл бұрын
where did the isar_service.dart file come from? It wasn't generated for me.
@rojohnson
@rojohnson Жыл бұрын
Same question, maybe I missed something but that did not create for me either
@treadingview352
@treadingview352 Жыл бұрын
Sir make a video on how to fetch data from api and save to local database
@FlutterExplained
@FlutterExplained Жыл бұрын
Alright will put it on my Video list :) thanks for the idea!
@treadingview352
@treadingview352 Жыл бұрын
@@FlutterExplained I am waiting sir
@Omarhi51llarious4tsxdl1l
@Omarhi51llarious4tsxdl1l Жыл бұрын
The named parameter 'initialReturn' isn't defined
@utpalgaurav14
@utpalgaurav14 Жыл бұрын
Can anyone please explain the steps on how to run Isar Inspector?
@treadingview352
@treadingview352 2 жыл бұрын
Sir pls make a video on OAuth
@Omarhi51llarious4tsxdl1l
@Omarhi51llarious4tsxdl1l Жыл бұрын
How to update data???
@sergey_molchanovsky
@sergey_molchanovsky Жыл бұрын
24:01 - why did you filter students by course id, if you have a backlink to students in a Course model, setup earlier? Cannot you do just `courses.getById(id).students.findAll()`?
Save and Retrieve an Image from a Local Database - Isar DB and Hive
16:35
Isar Database - coding with the author Simon Leier
52:33
Majid Hajian
Рет қаралды 1,8 М.
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 25 МЛН
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 96 МЛН
小丑把天使丢游泳池里#short #angel #clown
00:15
Super Beauty team
Рет қаралды 48 МЛН
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 585 М.
35 Flutter Tips That Will Change Your Life
10:53
Flutter Mapp
Рет қаралды 301 М.
Realtime Applications with Sockets - Introduction in Sockets with Dart
24:32
💾📱 Device Storage • ISAR x Flutter Database Tutorial
14:13
ObjectBox Tutorial - Flutter Local Database with Sync implementation
29:54
Records & Patterns - Get started with the newest addition in Dart 3.0
11:30
Flutter Explained
Рет қаралды 2,3 М.
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 25 МЛН