Check if a function requires graph context
(&self, function_name: &str)
| 2848 | |
| 2849 | /// Check if a function requires graph context |
| 2850 | fn function_needs_graph_context(&self, function_name: &str) -> bool { |
| 2851 | // Check if function exists in registry and get its context requirement |
| 2852 | if let Some(function) = self.function_registry.get(function_name) { |
| 2853 | function.graph_context_required() |
| 2854 | } else { |
| 2855 | // Unknown functions are assumed to need graph context for safety |
| 2856 | true |
| 2857 | } |
| 2858 | } |
| 2859 | |
| 2860 | /// Check if a SELECT statement needs graph context |
| 2861 | fn select_statement_needs_graph_context( |
no test coverage detected