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: ExprSTART WITH
relationships: Vec<Expr>CONNECT BY
Trait Implementations§
Source§impl Ord for ConnectBy
impl Ord for ConnectBy
Source§impl PartialOrd for ConnectBy
impl PartialOrd for ConnectBy
Source§impl<'ast> Transformable<'ast> for ConnectBy
impl<'ast> Transformable<'ast> for ConnectBy
Source§impl Visitable for ConnectBy
impl Visitable for ConnectBy
Source§fn accept<'ast, V: Visitor<'ast>>(
&'ast self,
visitor: &mut V,
) -> ControlFlow<Break<V::Error>>
fn accept<'ast, V: Visitor<'ast>>( &'ast self, visitor: &mut V, ) -> ControlFlow<Break<V::Error>>
Accepts a borrowed
Visitor and traverses the AST starting at self invoking Visitor::enter and
Visitor::exit as nodes are entered and exiting respectively.Source§fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
Tries to downcast
self as &Target.Source§fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
Tries to downcast
self as &mut Target.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