surrealdb-expr 3.3.3

A scalable, distributed, collaborative, document-graph database, for the realtime web
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::DefineKind;
use crate::expr::permission::Permission;
use crate::expr::{Expr, ModuleExecutable};

#[derive(Clone, Debug, Eq, PartialEq, Hash)]
pub struct DefineModuleStatement {
	pub kind: DefineKind,
	pub name: Option<String>,
	pub executable: ModuleExecutable,
	/// See [`crate::sql::statements::define::module::DefineModuleStatement::unsigned`].
	pub unsigned: bool,
	pub comment: Expr,
	pub permissions: Permission,
}