new form page row + import page dialog fix
This commit is contained in:
@@ -104,6 +104,12 @@ service TablesData {
|
||||
// - If the physical table is missing but the definition exists, returns INTERNAL
|
||||
rpc GetTableDataCount(GetTableDataCountRequest) returns (komp_ac.common.CountResponse);
|
||||
|
||||
// Fetch the last non-deleted row by id together with the exact row count.
|
||||
// This is the efficient form-opening path: unlike GetTableDataByPosition at
|
||||
// the final position, it does not walk the table through a large OFFSET, and
|
||||
// it avoids a separate client/server round trip for the count.
|
||||
rpc GetLastTableData(GetLastTableDataRequest) returns (GetLastTableDataResponse);
|
||||
|
||||
// Fetch the N-th non-deleted row by id order (1-based), then return its full data.
|
||||
//
|
||||
// Behavior:
|
||||
@@ -420,6 +426,18 @@ message GetTableDataCountRequest {
|
||||
string table_name = 2;
|
||||
}
|
||||
|
||||
// Fetch the last visible row and the exact number of visible rows.
|
||||
message GetLastTableDataRequest {
|
||||
string profile_name = 1;
|
||||
string table_name = 2;
|
||||
}
|
||||
|
||||
message GetLastTableDataResponse {
|
||||
int64 total_count = 1;
|
||||
// Absent when total_count is zero.
|
||||
GetTableDataResponse row = 2;
|
||||
}
|
||||
|
||||
// Fetch by ordinal position among non-deleted rows (1-based).
|
||||
message GetTableDataByPositionRequest {
|
||||
// Required. Profile (schema) name.
|
||||
|
||||
Reference in New Issue
Block a user