pub struct DropTable {
pub names: Vec<QualifiedName>,
pub kind: Entry,
}Expand description
A bound DROP TABLE or DROP VIEW.
Fields§
§names: Vec<QualifiedName>The tables or views to drop, already resolved. With IF EXISTS a name that does not resolve
is not in here at all, which is what makes running this a sequence of drops that cannot
fail for being missing. Dropping one of these as the wrong type still can, because DROP TABLE IF EXISTS v where v is a view is an error in DuckDB and was measured to be one.
kind: EntryWhich of the two the statement said it was dropping.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DropTable
impl RefUnwindSafe for DropTable
impl Send for DropTable
impl Sync for DropTable
impl Unpin for DropTable
impl UnsafeUnpin for DropTable
impl UnwindSafe for DropTable
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