Skip to main content

surrealdb_expr/expr/statements/remove/
table.rs

1use crate::expr::{Expr, Literal};
2
3#[derive(Clone, Debug, Eq, PartialEq, Hash)]
4pub struct RemoveTableStatement {
5	pub name: Expr,
6	pub if_exists: bool,
7	pub expunge: bool,
8}
9
10impl Default for RemoveTableStatement {
11	fn default() -> Self {
12		Self {
13			name: Expr::Literal(Literal::None),
14			if_exists: false,
15			expunge: false,
16		}
17	}
18}