pub struct ExprInSubquery {
pub expr: Box<Expr>,
pub query: Box<Query>,
}Expand description
Tests whether a value is in the results of a subquery.
Returns true if expr matches any row returned by query.
§Examples
in_subquery(x, select(...)) // returns `true` if `x` is in the subquery resultsFields§
§expr: Box<Expr>The value to search for.
query: Box<Query>The subquery to search within.
Trait Implementations§
Source§impl Clone for ExprInSubquery
impl Clone for ExprInSubquery
Source§fn clone(&self) -> ExprInSubquery
fn clone(&self) -> ExprInSubquery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExprInSubquery
impl Debug for ExprInSubquery
Source§impl From<ExprInSubquery> for Expr
impl From<ExprInSubquery> for Expr
Source§fn from(value: ExprInSubquery) -> Self
fn from(value: ExprInSubquery) -> Self
Converts to this type from the input type.
Source§impl Node for ExprInSubquery
impl Node for ExprInSubquery
Source§impl PartialEq for ExprInSubquery
impl PartialEq for ExprInSubquery
impl StructuralPartialEq for ExprInSubquery
Auto Trait Implementations§
impl Freeze for ExprInSubquery
impl RefUnwindSafe for ExprInSubquery
impl Send for ExprInSubquery
impl Sync for ExprInSubquery
impl Unpin for ExprInSubquery
impl UnwindSafe for ExprInSubquery
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