[−][src]Enum sqlparser::sqlast::ASTNode
SQL Abstract Syntax Tree (AST)
Variants
SQLIdentifier(String)
Identifier e.g. table name or column name
Aliased expression
Wildcard e.g. *
Multi part identifier e.g. myschema.dbo.mytable
SQLAssignment(SQLAssignment)
Assigment e.g. name = 'Fred'
in an UPDATE statement
IS NULL
expression
IS NOT NULL
expression
Binary expression e.g. 1 + 1
or foo > bar
Fields of SQLBinaryExpr
CAST an expression to a different data type e.g. CAST(foo AS VARCHAR(123))
Nested expression e.g. (foo > bar)
or (1)
Unary expression
Fields of SQLUnary
operator: SQLOperator
expr: Box<ASTNode>
SQLValue(Value)
SQLValue
Scalar function call e.g. LEFT(foo, 5)
CASE [
SELECT
Fields of SQLSelect
INSERT
Fields of SQLInsert
Fields of SQLCopy
UPDATE
Fields of SQLUpdate
DELETE
CREATE TABLE
Fields of SQLCreateTable
ALTER TABLE
Fields of SQLAlterTable
Trait Implementations
impl Clone for ASTNode
[src]
impl Debug for ASTNode
[src]
impl PartialEq<ASTNode> for ASTNode
[src]
impl StructuralPartialEq for ASTNode
[src]
impl ToString for ASTNode
[src]
Auto Trait Implementations
impl RefUnwindSafe for ASTNode
impl Send for ASTNode
impl Sync for ASTNode
impl Unpin for ASTNode
impl UnwindSafe for ASTNode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,