superduper-io / superduper

Superduper: Integrate AI models and machine learning workflows with your database to implement custom AI applications, without moving your data. Including streaming inference, scalable model hosting, training and vector search.
https://superduper.io
Apache License 2.0
4.65k stars 448 forks source link

Refactor the MetadataStore Base Class #2393

Open jieguangzhou opened 4 weeks ago

jieguangzhou commented 4 weeks ago

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

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):