How can I delete all of the keys in ReplDB?
Which language?
You can try looping through all of the keys in the database and deleting each of them.
Nodejs
How would I do that?
1 Like
If you have not received an answer on this a link to the Node module is here:
And the method I think you are looking for is .clear()
This nukes all the data in the Repl.DB so be sure you have it stored or don’t need it before you run it.
Hope this helps.
1 Like
In Python?
from replit import db
for i in db.keys():
del db[i]