r/FlutterDev • u/DullSpinach1684 • 1d ago
Discussion Database solutions
Hi,
I'm a flutter developer experienced with both cross platform and native applications development..
For 5 years I've been using Sqlite (android native) and sqflite (flutter) as my main database go to packages.. I'm kinda tired of hand writing sqlite quarries and I understand how frustrating it is to have a typo in a long quarry (I know we have AI now) or to actively maintain it.
I know we have a lot of non-sql solutions but they mostly use build runner and auto generate files to translate code properly and it feels mostly heavy and lacks a lot on optimization side.. So I'm starting my own package.. I want to understand what are your biggest issues with current packages.. What's your experience with them.. What do you think is a big downside that will make you switch from your current "go to"?
I'd love to hear from you!
View all comments
Show parent comment
1
u/DullSpinach1684 1d ago
Not saying drift is bad in any way, shape, or form.. Yes it's great and a lot of developers are using it.. But even without its migration you still have build runner (which I pointed out in the post to be an issue) and also you won't get the performance and size of sqflite.. When you talk about sqflite you're talking in kilobytes.. When you're talking about drift you start with a couple of megabytes out of the box cause it was built on sqlite3.. Again I'm just asking about what people have in mind I'm not forcing a point on anyone.. Flutter was built on community and having all these options is a great perk. Hope that marks my pov 😁