Skip to content

Commit b660540

Browse files
feat: added sort field
1 parent 7c96cdc commit b660540

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

proto/v1/api.proto

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,14 @@ message QueryRequest {
108108
// End timestamp to filter creation time.
109109
optional google.protobuf.Timestamp created_at_range_end = 4;
110110

111-
// Filter by json in data in MongoDB filter similar pattern
111+
// Filter by json (use MongoDB filter pattern)
112112
optional string data_filter = 5;
113113

114+
// Sort by json (use MongoDB sort pattern)
115+
optional string data_sort = 6;
116+
114117
// Entry paginator
115-
Paginator paginator = 6;
118+
Paginator paginator = 7;
116119
}
117120

118121
/**

0 commit comments

Comments
 (0)