pub struct ConnectBy {
pub condition: Expr,
pub relationships: Vec<Expr>,
}
Expand description
Joins a table to itself to process hierarchical data in the table.
See https://docs.snowflake.com/en/sql-reference/constructs/connect-by.
Fields§
§condition: Expr
START WITH
relationships: Vec<Expr>
CONNECT BY
Trait Implementations§
source§impl<'de> Deserialize<'de> for ConnectBy
impl<'de> Deserialize<'de> for ConnectBy
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for ConnectBy
impl Ord for ConnectBy
source§impl PartialEq for ConnectBy
impl PartialEq for ConnectBy
source§impl PartialOrd for ConnectBy
impl PartialOrd for ConnectBy
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl VisitMut for ConnectBy
impl VisitMut for ConnectBy
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for ConnectBy
impl StructuralPartialEq for ConnectBy
Auto Trait Implementations§
impl Freeze for ConnectBy
impl RefUnwindSafe for ConnectBy
impl Send for ConnectBy
impl Sync for ConnectBy
impl Unpin for ConnectBy
impl UnwindSafe for ConnectBy
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