Beispiel #1
0
 def _update_cleanly(self, new_dbptr):
     #if self.dbptr.query(ds.dbTABLE_IS_VIEW):
     #    self.dbptr.free()
     if _ds._dbquery(self.dbptr, _ds.dbTABLE_IS_VIEW):
         _ds._dbfree(self.dbptr)
     return self._update(new_dbptr)
Beispiel #2
0
 def free(self, *args, **kwargs):
     #return self.dbptr.free(*args, **kwargs)
     return _ds._dbfree(self.dbptr, *args, **kwargs)