surrealdb-expr 3.3.0-beta.4

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::Expr;
use crate::sql::EventKind;

#[derive(Clone, Debug, Eq, PartialEq, Hash)]
pub struct DefineEventStatement {
	pub kind: DefineKind,
	pub name: Expr,
	pub target_table: Expr,
	pub when: Expr,
	pub then: Vec<Expr>,
	pub comment: Expr,
	pub event_kind: EventKind,
}