Skip to content

Commit

Permalink
Update comment of TableObject::TableName src/ast/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ifeanyi Ubah <[email protected]>
  • Loading branch information
byte-sourcerer and iffyio authored Jan 9, 2025
1 parent 01cf364 commit a63a4db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a63a4db

Please sign in to comment.