uqa_execution/statement/
thread_scope.rs1use super::thread_context::StatementThreadContext;
10
11pub struct StatementThreadScope {
13 _temporal_input: uqa_sql::expr::TemporalInputScope,
14 _cancellation: uqa_sql::expr::StatementCancellationScope,
15}
16
17impl StatementThreadScope {
18 pub(super) fn enter(context: &StatementThreadContext) -> Self {
19 Self {
20 _temporal_input: context.temporal_input.enter(),
21 _cancellation: uqa_sql::expr::StatementCancellationScope::enter(
22 context.cancellation.clone(),
23 ),
24 }
25 }
26}