Struct ExprExists
pub struct ExprExists {
pub subquery: Box<Query>,
}Expand description
Tests whether a subquery returns any rows.
Returns true if the subquery produces at least one row.
§Examples
exists(subquery) // returns `true` if subquery has results
not_exists(subquery) // returns `true` if subquery has no resultsFields§
§subquery: Box<Query>The subquery to check.
Trait Implementations§
§impl Clone for ExprExists
impl Clone for ExprExists
§fn clone(&self) -> ExprExists
fn clone(&self) -> ExprExists
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 more§impl Debug for ExprExists
impl Debug for ExprExists
§impl From<ExprExists> for Expr
impl From<ExprExists> for Expr
§fn from(value: ExprExists) -> Expr
fn from(value: ExprExists) -> Expr
Converts to this type from the input type.
§impl PartialEq for ExprExists
impl PartialEq for ExprExists
impl StructuralPartialEq for ExprExists
Auto Trait Implementations§
impl Freeze for ExprExists
impl RefUnwindSafe for ExprExists
impl Send for ExprExists
impl Sync for ExprExists
impl Unpin for ExprExists
impl UnwindSafe for ExprExists
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