Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: expo sqlite driver disconnect() (#6027)
Currently the disconnect() function does not perform a call to databaseConnection close, it only sets the queryRunner and databaseConnection to undefined, this behavior may cause problems when you do something like this: 1 - await getConnection().close(); 2 - Replace the database file 3 - Try to open connection createConnection(); and do some insert more info: expo/expo#8109
- Loading branch information