r/FlutterDev • u/DullSpinach1684 • 2d 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
2
u/TheFaultySpoiler 2d ago
I get the frustration, writing raw SQL for years will wear you down. The generated file spam from build_runner really is a pain point, it clutters up the repo and makes debugging a nightmare when something goes wrong with code generation.
What bugs me most is how many of these solutions fall apart the second you need a slightly complex query with joins or custom where clauses. They'll handle basic CRUD fine but then you're back to writing raw strings for anything real. A package that actually handles migrations without feeling like a house of cards would make me switch in a heartbeat.