superduper icon indicating copy to clipboard operation
superduper copied to clipboard

Refactor the MetadataStore Base Class

Open jieguangzhou opened this issue 1 year ago • 0 comments
trafficstars

Implement all functionality-specific functions for SuperDuperDB in the base MetadataStore.

  • delete_parent_child
  • create_component
  • create_job
  • create_parent_child
  • get_job
  • update_job
  • show_components ....

For all subclasses, unless customized operations are needed, only the four basic functions of create, read, update, and delete will need to be implemented.

def _create(self, table, data): ...
def _read(self, table, filter): ...
def _updated(self, table, filter, new_data):
def _delete(self, table, delete):

jieguangzhou avatar Aug 15 '24 03:08 jieguangzhou