pub enum WithQuery {
CompoundSelect(CompoundSelect),
Delete(Delete),
Insert(Insert),
Merge(Merge),
ParenSelect(ParenSelect),
Select(Select),
Table(Table),
Update(Update),
Values(Values),
}Variants§
CompoundSelect(CompoundSelect)
Delete(Delete)
Insert(Insert)
Merge(Merge)
ParenSelect(ParenSelect)
Select(Select)
Table(Table)
Update(Update)
Values(Values)
Implementations§
Source§impl WithQuery
impl WithQuery
pub fn with_clause(&self) -> Option<WithClause>
Trait Implementations§
Source§impl AstNode for WithQuery
impl AstNode for WithQuery
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl From<CompoundSelect> for WithQuery
impl From<CompoundSelect> for WithQuery
Source§fn from(node: CompoundSelect) -> WithQuery
fn from(node: CompoundSelect) -> WithQuery
Converts to this type from the input type.
Source§impl From<ParenSelect> for WithQuery
impl From<ParenSelect> for WithQuery
Source§fn from(node: ParenSelect) -> WithQuery
fn from(node: ParenSelect) -> WithQuery
Converts to this type from the input type.
impl Eq for WithQuery
impl StructuralPartialEq for WithQuery
Auto Trait Implementations§
impl Freeze for WithQuery
impl !RefUnwindSafe for WithQuery
impl !Send for WithQuery
impl !Sync for WithQuery
impl Unpin for WithQuery
impl UnsafeUnpin for WithQuery
impl !UnwindSafe for WithQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more