[−][src]Enum sqlparser::sqlast::ASTNode
SQL Abstract Syntax Tree (AST)
Variants
SQLIdentifier(String)Identifier e.g. table name or column name
SQLWildcardWildcard e.g. *
SQLCompoundIdentifier(Vec<String>)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
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 ToString for ASTNode[src]
impl ToString for ASTNodeimpl Clone for ASTNode[src]
impl Clone for ASTNodefn 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 PartialEq<ASTNode> for ASTNodeimpl Debug for ASTNode[src]
impl Debug for ASTNodeAuto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T> ToString for T where
T: Display + ?Sized, [src]
impl<T> ToString for T where
T: Display + ?Sized, impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)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]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId | [src] |
impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>,