[−][src]Enum sqlparser::sqlast::ASTNode
SQL Abstract Syntax Tree (AST)
Variants
SQLIdentifier(SQLIdent)Identifier e.g. table name or column name
SQLWildcardWildcard e.g. *
SQLCompoundIdentifier(Vec<SQLIdent>)Multi part identifier e.g. myschema.dbo.mytable
SQLAssignment(SQLAssignment)Assigment e.g. name = 'Fred' in an UPDATE statement
SQLIsNull(Box<ASTNode>)IS NULL expression
SQLIsNotNull(Box<ASTNode>)IS NOT NULL expression
SQLBinaryExprBinary expression e.g. 1 + 1 or foo > bar
Fields of SQLBinaryExpr
SQLCastCAST an expression to a different data type e.g. CAST(foo AS VARCHAR(123))
Fields of SQLCast
SQLNested(Box<ASTNode>)Nested expression e.g. (foo > bar) or (1)
SQLUnaryUnary expression
Fields of SQLUnary
operator: SQLOperatorexpr: Box<ASTNode>SQLValue(Value)SQLValue
SQLFunctionScalar function call e.g. LEFT(foo, 5)
Fields of SQLFunction
SQLCaseCASE [
Fields of SQLCase
TableFactorA table name or a parenthesized subquery with an optional alias
Fields of TableFactor
SQLSelectSELECT
Fields of SQLSelect
SQLInsertINSERT
Fields of SQLInsert
SQLCopyFields of SQLCopy
SQLUpdateUPDATE
Fields of SQLUpdate
SQLDeleteDELETE
Fields of SQLDelete
SQLCreateTableCREATE TABLE
Fields of SQLCreateTable
SQLAlterTableALTER TABLE
Fields of SQLAlterTable
Trait Implementations
impl Clone for ASTNode[src]
fn clone(&self) -> ASTNode[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq<ASTNode> for ASTNode[src]
impl ToString for ASTNode[src]
impl Debug for ASTNode[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,