pub struct ExprSetOp {
pub op: SetOp,
pub operands: Vec<ExprSet>,
}Expand description
A set operation combining multiple queries.
Applies a set operator (union, except, intersect) to combine the results of multiple queries into a single result set.
§Examples
SELECT ... UNION SELECT ... // combines with union
SELECT ... EXCEPT SELECT ... // removes matching rows
SELECT ... INTERSECT SELECT ... // keeps only common rowsFields§
§op: SetOpThe set operation to apply.
operands: Vec<ExprSet>The queries to combine.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ExprSetOp
Auto Trait Implementations§
impl Freeze for ExprSetOp
impl RefUnwindSafe for ExprSetOp
impl Send for ExprSetOp
impl Sync for ExprSetOp
impl Unpin for ExprSetOp
impl UnwindSafe for ExprSetOp
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