pub enum SqlAst {
Select(SqlSelect),
Insert(SqlInsert),
Update(SqlUpdate),
Delete(SqlDelete),
Set(SqlSet),
Show(SqlShow),
}Expand description
The AST for the SQL DML and query language
Variants§
Select(SqlSelect)
SELECT …
Insert(SqlInsert)
INSERT INTO …
Update(SqlUpdate)
UPDATE …
Delete(SqlDelete)
DELETE FROM …
Set(SqlSet)
SET var TO …
Show(SqlShow)
SHOW var
Implementations§
Source§impl SqlAst
impl SqlAst
pub fn qualify_vars(self) -> Self
pub fn find_unqualified_vars(self) -> SqlParseResult<Self>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SqlAst
impl RefUnwindSafe for SqlAst
impl Send for SqlAst
impl Sync for SqlAst
impl Unpin for SqlAst
impl UnwindSafe for SqlAst
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