Closed JWambaugh closed 2 years ago
the CRUD operations will be worked right after finished initialization already. If you want to use initializing db manually so use:
final bool isSuccess = MyDbModel().initializeDB();
// TO DO if isSuccess is true
Currently, initialization of the database happens automagically, which can be nice, but I'm running into an issue when the user first runs my app and I try to access the database, that the database hasn't finished being created yet, so I get exceptions. Is there a way to tell when the database is ready for use and finished initialization?