refering different tables that are not directly FK
This commit is contained in:
2
client
2
client
Submodule client updated: 643795ac6f...6da324a924
@@ -70,6 +70,12 @@ message PostTableScriptRequest {
|
|||||||
// • current-table references are read directly from the active row
|
// • current-table references are read directly from the active row
|
||||||
// • other tables require an explicit link from the source table
|
// • other tables require an explicit link from the source table
|
||||||
// (table_definition_links) or the request fails
|
// (table_definition_links) or the request fails
|
||||||
|
// - Related collections use allowlisted aggregate shorthand:
|
||||||
|
// @sum(table.column), @min(table.column), @max(table.column),
|
||||||
|
// @count(table.column), @count_distinct(table.column),
|
||||||
|
// @any(table.boolean), @all(table.boolean),
|
||||||
|
// @count_rows(table), @exists(table)
|
||||||
|
// The related table must be a direct child or share exactly one parent.
|
||||||
// - Raw SQL access is not supported; steel_query_sql is rejected
|
// - Raw SQL access is not supported; steel_query_sql is rejected
|
||||||
//
|
//
|
||||||
// Math operations:
|
// Math operations:
|
||||||
@@ -130,4 +136,7 @@ message ScriptDependency {
|
|||||||
string column = 3;
|
string column = 3;
|
||||||
// Deprecated legacy field. Raw SQL dependencies are no longer produced.
|
// Deprecated legacy field. Raw SQL dependencies are no longer produced.
|
||||||
string query_fragment = 4;
|
string query_fragment = 4;
|
||||||
|
string operation = 5;
|
||||||
|
// Relationship table used to match the owner row to the related collection.
|
||||||
|
string via_table = 6;
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -29,6 +29,12 @@ pub struct PostTableScriptRequest {
|
|||||||
/// • current-table references are read directly from the active row
|
/// • current-table references are read directly from the active row
|
||||||
/// • other tables require an explicit link from the source table
|
/// • other tables require an explicit link from the source table
|
||||||
/// (table_definition_links) or the request fails
|
/// (table_definition_links) or the request fails
|
||||||
|
/// * Related collections use allowlisted aggregate shorthand:
|
||||||
|
/// @sum(table.column), @min(table.column), @max(table.column),
|
||||||
|
/// @count(table.column), @count_distinct(table.column),
|
||||||
|
/// @any(table.boolean), @all(table.boolean),
|
||||||
|
/// @count_rows(table), @exists(table)
|
||||||
|
/// The related table must be a direct child or share exactly one parent.
|
||||||
/// * Raw SQL access is not supported; steel_query_sql is rejected
|
/// * Raw SQL access is not supported; steel_query_sql is rejected
|
||||||
///
|
///
|
||||||
/// Math operations:
|
/// Math operations:
|
||||||
@@ -107,6 +113,11 @@ pub struct ScriptDependency {
|
|||||||
/// Deprecated legacy field. Raw SQL dependencies are no longer produced.
|
/// Deprecated legacy field. Raw SQL dependencies are no longer produced.
|
||||||
#[prost(string, tag = "4")]
|
#[prost(string, tag = "4")]
|
||||||
pub query_fragment: ::prost::alloc::string::String,
|
pub query_fragment: ::prost::alloc::string::String,
|
||||||
|
#[prost(string, tag = "5")]
|
||||||
|
pub operation: ::prost::alloc::string::String,
|
||||||
|
/// Relationship table used to match the owner row to the related collection.
|
||||||
|
#[prost(string, tag = "6")]
|
||||||
|
pub via_table: ::prost::alloc::string::String,
|
||||||
}
|
}
|
||||||
/// Generated client implementations.
|
/// Generated client implementations.
|
||||||
pub mod table_script_client {
|
pub mod table_script_client {
|
||||||
|
|||||||
2
server
2
server
Submodule server updated: 37f329a2b2...1bbb78b494
Reference in New Issue
Block a user