Create a new execution request with minimal required information
(statement: Statement)
| 58 | impl ExecutionRequest { |
| 59 | /// Create a new execution request with minimal required information |
| 60 | pub fn new(statement: Statement) -> Self { |
| 61 | Self { |
| 62 | statement, |
| 63 | session: None, |
| 64 | graph_expr: None, |
| 65 | query_text: None, |
| 66 | physical_plan: None, |
| 67 | requires_graph_context: None, |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | /// Set the user session |
| 72 | pub fn with_session(mut self, session: Option<Arc<std::sync::RwLock<UserSession>>>) -> Self { |
nothing calls this directly
no test coverage detected