MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / set_session_parameter

Method set_session_parameter

graphlite/src/exec/executor.rs:8798–8811  ·  view source on GitHub ↗

Set a session parameter (helper method for stored procedures)

(
        &self,
        parameter: &str,
        value: Value,
    )

Source from the content-addressed store, hash-verified

8796
8797 /// Set a session parameter (helper method for stored procedures)
8798 pub fn set_session_parameter(
8799 &self,
8800 parameter: &str,
8801 value: Value,
8802 ) -> Result<(), ExecutionError> {
8803 // TODO: Implement session parameter storage through SessionManager
8804 // For now, parameters are not persisted across queries
8805 log::debug!(
8806 "Session parameter '{}' set to {:?} (not persisted)",
8807 parameter,
8808 value
8809 );
8810 Ok(())
8811 }
8812
8813 /// Get current graph from session (helper method)
8814 pub fn current_graph(&self) -> Option<GraphExpression> {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected