diff --git a/src/ast/mod.rs b/src/ast/mod.rs index 61db61ece..41f833647 100644 --- a/src/ast/mod.rs +++ b/src/ast/mod.rs @@ -7771,7 +7771,11 @@ impl fmt::Display for RenameTable { #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[cfg_attr(feature = "visitor", derive(Visit, VisitMut))] pub enum TableObject { - // for simple table name + /// Table specified by name. + /// Example: + /// ```sql + /// INSERT INTO my_table + /// ``` TableName(#[cfg_attr(feature = "visitor", visit(with = "visit_relation"))] ObjectName), /// Table specified as a function.