Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upError on drop database and table #192
Comments
|
I've seen something similar. Which adapter (or value of mode in db config) are you using? |
|
I'm using 'PERM' mode. |
|
Hi! Did you get any far with this? I'm using 'TEMP' and seeing it as well. |
|
To be more specific, seeing it when dropping a table: |
|
Update: Ok I've had a closer look at my code and I'm not actually using 'drop' after all because it didn't (possibly still doesn't) delete indexes. I'm using 'delete' instead to delete all rows in the table. You could try rebuilding indexes. |
Which version are you using?
2.3.7
Describe the bug
Dropping tables always return next error:
Dropping databases always return next error:
Tables are not dropped really in IndexedDB storage. Wherever, when query 'show tables' is submmited, this tables don't are returned
Example
nSQL().dropDatabase("my_db").then(() => { // never }).catch(() => { // ALWAYS!! })