We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2954ce commit ed83dbaCopy full SHA for ed83dba
bitshares/storage.py
@@ -357,6 +357,12 @@ def delete(self, key):
357
cursor.execute(*query)
358
connection.commit()
359
360
+ def wipe(self):
361
+ """ Delete all keys from the configuration store
362
+ """
363
+ query = ("DELETE FROM %s " % (self.__tablename__), ())
364
+ self.sql_execute(query)
365
+
366
def __iter__(self):
367
return iter(self.items())
368
0 commit comments