10 from ctypes
import POINTER
11 from SQLamarr
import clib, c_TransformerPtr
15 clib.new_UpdateDBConnection.argtypes = (ctypes.c_void_p,)
16 clib.new_UpdateDBConnection.restype = c_TransformerPtr
20 Update the reference to the DB Connection, to ensure synchronization with disk.
22 Refer to SQLamarr::UpdateDBConnection for implementation details.
26 Configure a Transformer to update the connection to the DB.
28 @param db: An open database connection.
30 self.
_self_self = clib.new_UpdateDBConnection(db.get(), db.path.encode(
'ascii'))
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
Update the reference to the DB Connection, to ensure synchronization with disk.
def __init__(self, SQLite3DB db)
Configure a Transformer to update the connection to the DB.