data in accounts is automatic now
This commit is contained in:
@@ -62,7 +62,8 @@ service TablesData {
|
||||
// - Validates profile and table definition
|
||||
// - Returns all columns as strings (COALESCE(col::TEXT, '') AS col)
|
||||
// including: id, deleted, row_revision, all user-defined columns, and FK columns
|
||||
// named "<linked_table>_id" for each table link
|
||||
// named "<linked_table>_id" for each table link, plus "account_id" on
|
||||
// ACCOUNTING-enabled tables
|
||||
// - Fails with NOT_FOUND if record does not exist or is soft-deleted
|
||||
// - If the physical table is missing but the definition exists, returns INTERNAL
|
||||
rpc GetTableData(GetTableDataRequest) returns (GetTableDataResponse);
|
||||
@@ -101,6 +102,7 @@ message PostTableDataRequest {
|
||||
// - System/FK columns:
|
||||
// • "deleted" (BOOLEAN), optional; default FALSE if not provided
|
||||
// • "<linked_table>_id" (BIGINT) for each table link
|
||||
// • "account_id" (BIGINT) on ACCOUNTING-enabled tables
|
||||
//
|
||||
// Type expectations by SQL type:
|
||||
// - TEXT: string value; empty string is treated as NULL
|
||||
@@ -266,6 +268,7 @@ message GetTableDataResponse {
|
||||
// - id, deleted
|
||||
// - all user-defined columns from the table definition
|
||||
// - FK columns named "<linked_table>_id" for each table link
|
||||
// - account_id for ACCOUNTING-enabled tables
|
||||
//
|
||||
// All values are returned as TEXT via col::TEXT and COALESCEed to empty string
|
||||
// (NULL becomes ""). The row is returned only if deleted = FALSE.
|
||||
|
||||
Reference in New Issue
Block a user