Closed spapapan closed 6 years ago
I am trying to check if jsqlite is open or closed. For sqlite there is a method isOpen() that do the trick. Is there any similar method for jsqlite?
As far as I can see (after a very quick search) no.
When we close the connections we set it to NULL
So if you call the method close() you can check if the database is closed by checking if the database is null?
I am trying to check if jsqlite is open or closed. For sqlite there is a method isOpen() that do the trick. Is there any similar method for jsqlite?