ormushq / ormus

Ormus - Customer Data Platform
MIT License
28 stars 19 forks source link

#Source Implement ScyllaDB Repository Methods for SourceService #105

Open Amirbapiri opened 3 months ago

Amirbapiri commented 3 months ago

Implement the repository methods in the scyllarepo package to interact with ScyllaDB for the SourceService.

InsertSource:
    Implement the InsertSource method to insert a new source into the sources table.

UpdateSource:
    Implement the UpdateSource method to update the name and description of an existing source based on its ID.

DeleteSource:
    Implement the DeleteSource method to delete a source from the sources table based on its ID and owner ID.

GetUserSourceByID:
    Implement the GetUserSourceByID method to retrieve a source by its ID and owner ID.

IsSourceAlreadyCreatedByName:
    Implement the IsSourceAlreadyCreatedByName method to check if a source with the given name already exists.