pub enum SubLinkKind {
Exists,
All,
Any,
Expr,
Array,
RowCompare,
Multi {
id: u32,
column: usize,
},
}Expand description
The kinds of SubLink that the analyzer takes.
Variants§
Exists
EXISTS (SELECT ...).
All
x op ALL (SELECT ...).
Any
x op ANY (SELECT ...) and x IN (SELECT ...).
Expr
(SELECT ...), which gives the value of the one column of the one row.
Array
ARRAY(SELECT ...), which gives the values of the one column as an array.
RowCompare
(a, b) op (SELECT ...), which gives the result of the test on the one row.
Multi
SET (a, b) = (SELECT ...) of UPDATE, as MULTIEXPR_SUBLINK with its PARAM_MULTIEXPR: the value of the column column, from 0, of the one row. Each column of the item has a copy of the subquery with the same id, and the subquery runs once for each row.
Trait Implementations§
Source§impl Clone for SubLinkKind
impl Clone for SubLinkKind
impl Copy for SubLinkKind
Source§impl Debug for SubLinkKind
impl Debug for SubLinkKind
impl Eq for SubLinkKind
Source§impl PartialEq for SubLinkKind
impl PartialEq for SubLinkKind
impl StructuralPartialEq for SubLinkKind
Auto Trait Implementations§
impl Freeze for SubLinkKind
impl RefUnwindSafe for SubLinkKind
impl Send for SubLinkKind
impl Sync for SubLinkKind
impl Unpin for SubLinkKind
impl UnsafeUnpin for SubLinkKind
impl UnwindSafe for SubLinkKind
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