You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make the code cleaner, I save the database references in a variable. However, this may lead to my entire database being deleted.
If I do NOT query the value from the database before "set ('test')", everything works as expected. If the value is loaded from the database beforehand, the complete database is deleted after "set". If only the value is queried from the database, nothing is deleted either.
To make the code cleaner, I save the database references in a variable. However, this may lead to my entire database being deleted.
If I do NOT query the value from the database before "set ('test')", everything works as expected. If the value is loaded from the database beforehand, the complete database is deleted after "set". If only the value is queried from the database, nothing is deleted either.
Python version: 3.7.4
Pyrebase4 version: 4.5.0
This code deletes the database:
And this works fine:
After the "deletion" my database looks like this:
The text was updated successfully, but these errors were encountered: