picker order by

This commit is contained in:
Priec
2026-07-16 14:38:12 +02:00
parent f2eb4d46bc
commit f13db931a4
6 changed files with 363 additions and 29 deletions

View File

@@ -25,6 +25,18 @@ message SearchRequest {
repeated ColumnConstraint must = 4;
optional uint32 limit = 5;
optional uint32 offset = 6;
optional SearchOrder order = 7;
}
message SearchOrder {
string column = 1;
SearchOrderDirection direction = 2;
}
enum SearchOrderDirection {
SEARCH_ORDER_DIRECTION_UNSPECIFIED = 0;
SEARCH_ORDER_DIRECTION_ASC = 1;
SEARCH_ORDER_DIRECTION_DESC = 2;
}
message SearchResponse {
message Hit {
@@ -35,6 +47,7 @@ message SearchResponse {
// Configured human-readable value for this row.
string row_display_value = 5;
string row_display_column = 6;
optional uint64 position = 7;
}
repeated Hit hits = 1;
}