mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-09-25 15:09:19 +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,
|
name: ObjectName,
|
||||||
operation: AlterTableOperation,
|
operation: AlterTableOperation,
|
||||||
},
|
},
|
||||||
/// DROP TABLE
|
/// DROP
|
||||||
Drop {
|
Drop {
|
||||||
|
/// The type of the object to drop: TABLE, VIEW, etc.
|
||||||
object_type: ObjectType,
|
object_type: ObjectType,
|
||||||
|
/// An optional `IF EXISTS` clause. (Non-standard.)
|
||||||
if_exists: bool,
|
if_exists: bool,
|
||||||
|
/// One or more objects to drop. (ANSI SQL requires exactly one.)
|
||||||
names: Vec<ObjectName>,
|
names: Vec<ObjectName>,
|
||||||
|
/// Whether `CASCADE` was specified. This will be `false` when
|
||||||
|
/// `RESTRICT` or no drop behavior at all was specified.
|
||||||
cascade: bool,
|
cascade: bool,
|
||||||
},
|
},
|
||||||
/// `{ BEGIN [ TRANSACTION | WORK ] | START TRANSACTION } ...`
|
/// `{ BEGIN [ TRANSACTION | WORK ] | START TRANSACTION } ...`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue