toasty 0.4.0

An async ORM for Rust supporting SQL and NoSQL databases
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::engine::exec::{Action, VarId, VarStore};

#[derive(Debug)]
pub(crate) struct ExecPlan {
    /// Arguments seeding the plan
    pub(crate) vars: VarStore,

    /// Steps in the pipeline
    pub(crate) actions: Vec<Action>,

    /// Which record stream slot does the pipeline return
    ///
    /// When `None`, nothing is returned
    pub(crate) returning: Option<VarId>,

    /// When true, the executor wraps the entire plan in a transaction.
    pub(crate) needs_transaction: bool,
}