Skip to content

chore: Add DeleteUserProfile(s) method#79

Open
ohalushchak-exadel wants to merge 2 commits intomainfrom
DeleteUserProfile
Open

chore: Add DeleteUserProfile(s) method#79
ohalushchak-exadel wants to merge 2 commits intomainfrom
DeleteUserProfile

Conversation

@ohalushchak-exadel
Copy link
Copy Markdown
Collaborator

Adds DeleteUserProfile and DeleteUserProfiles to Engine as counterparts to the existing setters, enabling callers to remove user segment profiles from the store.

To support this, Del and MDel are added to the Store interface with corresponding implementations in MockStore and valkeystore.Store. The Valkey/Redis implementation uses a single DEL call for both the single and batch cases, since the command natively accepts multiple keys.

Adds DeleteUserProfile and DeleteUserProfiles to Engine as counterparts to the existing setters, enabling callers to remove user segment profiles from the store.

  To support this, Del and MDel are added to the Store interface with corresponding implementations in MockStore and valkeystore.Store. The Valkey/Redis implementation uses a single DEL call for both the single and batch cases, since the command natively accepts multiple keys.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant