mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
Update Statement::Drop doc comment
This commit is contained in:
parent
64e7be0c68
commit
f11d74a64d
1 changed files with 6 additions and 1 deletions
|
@ -423,11 +423,16 @@ pub enum Statement {
|
|||
name: ObjectName,
|
||||
operation: AlterTableOperation,
|
||||
},
|
||||
/// DROP TABLE
|
||||
/// DROP
|
||||
Drop {
|
||||
/// The type of the object to drop: TABLE, VIEW, etc.
|
||||
object_type: ObjectType,
|
||||
/// An optional `IF EXISTS` clause. (Non-standard.)
|
||||
if_exists: bool,
|
||||
/// One or more objects to drop. (ANSI SQL requires exactly one.)
|
||||
names: Vec<ObjectName>,
|
||||
/// Whether `CASCADE` was specified. This will be `false` when
|
||||
/// `RESTRICT` or no drop behavior at all was specified.
|
||||
cascade: bool,
|
||||
},
|
||||
/// `{ BEGIN [ TRANSACTION | WORK ] | START TRANSACTION } ...`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue