Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to pass the same secondary index name multiple times on the same record #546

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
933 changes: 500 additions & 433 deletions proto/client.pb.go

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion proto/client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ message ReadResponse {
repeated GetResponse gets = 1;
}

message SecondaryIndex {
string index_name = 1;
string secondary_key = 2;
}

/**
* A put request. Persists the specified key and value
*/
Expand Down Expand Up @@ -253,7 +258,7 @@ message PutRequest {
// based on adding the delta to the current highest key with the same prefix
repeated uint64 sequence_key_delta = 7;

map<string, string> secondary_indexes = 8;
repeated SecondaryIndex secondary_indexes = 8;
}

/**
Expand Down
Loading
Loading