refering different tables that are not directly FK6

This commit is contained in:
Priec
2026-07-16 23:00:23 +02:00
parent 2ad1c8262b
commit daba328ca1
5 changed files with 35 additions and 5 deletions

View File

@@ -133,6 +133,9 @@ message PostTableDataResponse {
// The id of the inserted row.
int64 inserted_id = 3;
// Rows whose stored script values changed through dependency propagation.
repeated RecomputedRow recomputed_rows = 4;
}
// One row in a bulk insert request.
@@ -199,6 +202,14 @@ message PutTableDataResponse {
// The id of the updated row.
int64 updated_id = 3;
// Rows whose stored script values changed through dependency propagation.
repeated RecomputedRow recomputed_rows = 4;
}
message RecomputedRow {
string table_name = 1;
int64 row_id = 2;
}
// Soft-delete a single row.
@@ -217,6 +228,9 @@ message DeleteTableDataRequest {
message DeleteTableDataResponse {
// True if a row was marked deleted (id existed and was not already deleted).
bool success = 1;
// Rows whose stored script values changed through dependency propagation.
repeated RecomputedRow recomputed_rows = 2;
}
// Fetch a single non-deleted row by id.