[−][src]Enum sqlparser::sqlast::ASTNode
SQL Abstract Syntax Tree (AST)
Variants
SQLIdentifier(String)
Identifier e.g. table name or column name
SQLWildcard
Wildcard 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
SQLBinaryExpr
Binary expression e.g. 1 + 1
or foo > bar
Fields of SQLBinaryExpr
SQLCast
CAST 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)
SQLUnary
Unary expression
Fields of SQLUnary
operator: SQLOperator
expr: Box<ASTNode>
SQLValue(Value)
SQLValue
SQLFunction
Scalar function call e.g. LEFT(foo, 5)
Fields of SQLFunction
SQLCase
CASE [
Fields of SQLCase
SQLSelect
SELECT
Fields of SQLSelect
SQLInsert
INSERT
Fields of SQLInsert
SQLCopy
Fields of SQLCopy
SQLUpdate
UPDATE
Fields of SQLUpdate
SQLDelete
DELETE
Fields of SQLDelete
SQLCreateTable
CREATE TABLE
Fields of SQLCreateTable
SQLAlterTable
ALTER TABLE
Fields of SQLAlterTable
Trait Implementations
impl PartialEq<ASTNode> for ASTNode
[src]
impl ToString for ASTNode
[src]
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 Debug for ASTNode
[src]
Auto Trait Implementations
Blanket Implementations
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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> 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,