I have come to dart from java, and working with databases in dart is incoherent.
Each database library uses a dissimilar set of apis to connect to rdbms, so you start from scratch using any of the database libraries (postgres / mysql / flutter sqlite).
Something akin to jdbc would be good. This could just take the form of interface files to follow.
An enhancement would be standard error numbers (or enums) for the conventional rdbms errors.
I have come to dart from java, and working with databases in dart is incoherent. Each database library uses a dissimilar set of apis to connect to rdbms, so you start from scratch using any of the database libraries (postgres / mysql / flutter sqlite).
Something akin to jdbc would be good. This could just take the form of interface files to follow. An enhancement would be standard error numbers (or enums) for the conventional rdbms errors.