pub struct CallSubqueryClause {
pub statement: Statement,
pub scope: CallScope,
pub optional: bool,
pub in_transactions: Option<InTransactionsClause>,
}Expand description
CALL { … } subquery clause.
Fields§
§statement: Statement§scope: CallScopeCIP-141 variable scope clause: None for a naked CALL { ... }
(the deprecated legacy form, where an IMPORTING WITH as the
subquery’s own first clause is the only way to correlate outer
variables in); Some(CallScope::...) for CALL (...) { ... }.
optional: boolOPTIONAL CALL { ... } – when the inline subquery yields
zero rows for a given outer row, that outer row is null-padded
(every column the subquery would export set to NULL) instead of
being dropped.
in_transactions: Option<InTransactionsClause>CIP-32/CIP-34/CIP-198/CIP-30 trailing IN [<concExpr>] CONCURRENT? TRANSACTIONS [OF <n> ROW(S)] [ON ERROR ...] [REPORT STATUS AS <var>] production. None for a plain CALL { ... } subquery.
Trait Implementations§
Source§impl Clone for CallSubqueryClause
impl Clone for CallSubqueryClause
Source§impl Debug for CallSubqueryClause
impl Debug for CallSubqueryClause
Source§impl PartialEq for CallSubqueryClause
impl PartialEq for CallSubqueryClause
impl StructuralPartialEq for CallSubqueryClause
Auto Trait Implementations§
impl Forget for CallSubqueryClause
impl Freeze for CallSubqueryClause
impl Move for CallSubqueryClause
impl RefUnwindSafe for CallSubqueryClause
impl Send for CallSubqueryClause
impl Sync for CallSubqueryClause
impl Unpin for CallSubqueryClause
impl UnsafeUnpin for CallSubqueryClause
impl UnwindSafe for CallSubqueryClause
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more