get-var is removed completely since its not needed at all

This commit is contained in:
Priec
2026-07-16 13:25:43 +02:00
parent d2ac592a49
commit f2eb4d46bc
6 changed files with 7 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ resolver = "3"
[workspace.package] [workspace.package]
# TODO: idk how to do the name, fix later # TODO: idk how to do the name, fix later
# name = "komp_ac" # name = "komp_ac"
version = "0.8.24" version = "0.8.25"
edition = "2024" edition = "2024"
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
authors = ["Filip Priečinský <filippriec@gmail.com>"] authors = ["Filip Priečinský <filippriec@gmail.com>"]

2
client

Submodule client updated: 9d5d09322f...0d20818048

View File

@@ -67,12 +67,10 @@ message PostTableScriptRequest {
// Referencing data: // Referencing data:
// - Structured table/column access (enforces link constraints): // - Structured table/column access (enforces link constraints):
// (steel_get_column "table_name" "column_name") // (steel_get_column "table_name" "column_name")
// • self-references are allowed without links // • 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
// - Raw SQL access is not supported; steel_query_sql is rejected // - Raw SQL access is not supported; steel_query_sql is rejected
// - Self variable access in transformed scripts:
// (get-var "column_name") is treated as referencing the current table
// //
// Math operations: // Math operations:
// - The script is transformed by steel_decimal; supported math forms include: // - The script is transformed by steel_decimal; supported math forms include:
@@ -82,7 +80,7 @@ message PostTableScriptRequest {
// BIGINT, TEXT, BOOLEAN, DATE, TIMESTAMPTZ // BIGINT, TEXT, BOOLEAN, DATE, TIMESTAMPTZ
// //
// Dependency tracking and cycles: // Dependency tracking and cycles:
// - Dependencies are extracted from steel_get_column and get-var and stored // - Dependencies are extracted from steel_get_column calls and stored
// in script_dependencies with context // in script_dependencies with context
// - Cycles across tables are rejected (self-dependency is allowed) // - Cycles across tables are rejected (self-dependency is allowed)
string script = 3; string script = 3;

Binary file not shown.

View File

@@ -26,12 +26,10 @@ pub struct PostTableScriptRequest {
/// ///
/// * Structured table/column access (enforces link constraints): /// * Structured table/column access (enforces link constraints):
/// (steel_get_column "table_name" "column_name") /// (steel_get_column "table_name" "column_name")
/// • self-references are allowed without links /// • 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
/// * Raw SQL access is not supported; steel_query_sql is rejected /// * Raw SQL access is not supported; steel_query_sql is rejected
/// * Self variable access in transformed scripts:
/// (get-var "column_name") is treated as referencing the current table
/// ///
/// Math operations: /// Math operations:
/// ///
@@ -43,7 +41,7 @@ pub struct PostTableScriptRequest {
/// ///
/// Dependency tracking and cycles: /// Dependency tracking and cycles:
/// ///
/// * Dependencies are extracted from steel_get_column and get-var and stored /// * Dependencies are extracted from steel_get_column calls and stored
/// in script_dependencies with context /// in script_dependencies with context
/// * Cycles across tables are rejected (self-dependency is allowed) /// * Cycles across tables are rejected (self-dependency is allowed)
#[prost(string, tag = "3")] #[prost(string, tag = "3")]

2
server

Submodule server updated: e260f77907...37f329a2b2