INNER CODE UNIT · Rust

analyze_node_sql

slothflowlabs/duckle · apps/desktop/src/lib.rs:780

fn analyze_node_sql(
    pipeline: PipelineDoc,
    node_id: String,
    inputs: Vec<(String, Vec<duckle_duckdb_engine::Column>)>,
) -> Result<duckle_duckdb_engine::NodeAnalysis, String> {
    engine()?
        .analyze_node_sql(&pipeline, &node_id, &inputs)
        .map_err(|e| e.to_string())
}

/// #314: what could come next at a cursor position in a node's SQL.
///
/// Cheap by construction - the function list is cached for the process and the
/// rest is a pure function - so an editor may call it while someone types.
/// Reads nothing and runs nothing.
#[tauri::command]
fn complete_node_sql(
    pipeline: PipelineDoc,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…