10 from ctypes
import POINTER
11 from SQLamarr
import clib, c_TransformerPtr
15 clib.new_CleanEventStore.argtypes = (ctypes.c_void_p,)
16 clib.new_CleanEventStore.restype = c_TransformerPtr
20 Delete all rows from all tables without affecting the schema.
22 Refer to SQLamarr::CleanEventStore for implementation details.
26 Configure a Transformer to clean the Database without modifying the schema
28 @param db: An open database connection.
30 self.
_self_self = clib.new_CleanEventStore(db.get())
33 """@private: Release the bound class instance"""
34 clib.del_Transformer(self.
_self_self)
37 def raw_pointer(self):
38 """@private: Return the raw pointer to the algorithm."""
39 return self.
_self_self
Delete all rows from all tables without affecting the schema.
def __init__(self, SQLite3DB db)
Configure a Transformer to clean the Database without modifying the schema.