Open haidang750 opened 2 months ago
You can find this issue by: https://github.com/tekartik/sqflite/issues/223
@stephanmantel please help me
Hi, thanks for your interest in Floor and fr filing this issue, I shall take a look at it
thank you very much, my case is switching between different sqflite .db files, so I need to close the current before open the new one, but I got the error Unhandled Exception: DatabaseException(error database_closed) after close
In close() function of database.dart file, need to set null for current database before closing it like this: Future close() async { final db = await instance.database; _database = null; await db.close(); }