surrealdb_core/sql/statements/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
pub(crate) mod access;
pub(crate) mod alter;
pub(crate) mod analyze;
pub(crate) mod begin;
pub(crate) mod r#break;
pub(crate) mod cancel;
pub(crate) mod commit;
pub(crate) mod r#continue;
pub(crate) mod create;
pub(crate) mod define;
pub(crate) mod delete;
pub(crate) mod foreach;
pub(crate) mod ifelse;
pub(crate) mod info;
pub(crate) mod insert;
pub(crate) mod kill;
pub(crate) mod live;
pub(crate) mod option;
pub(crate) mod output;
pub(crate) mod rebuild;
pub(crate) mod relate;
pub(crate) mod remove;
pub(crate) mod select;
pub(crate) mod set;
pub(crate) mod show;
pub(crate) mod sleep;
pub(crate) mod throw;
pub(crate) mod update;
pub(crate) mod upsert;
pub(crate) mod r#use;

// TODO(gguillemas): Document once bearer access is no longer experimental.
#[doc(hidden)]
pub use self::access::{AccessGrant, AccessStatement};
pub use self::analyze::AnalyzeStatement;
pub use self::begin::BeginStatement;
pub use self::cancel::CancelStatement;
pub use self::commit::CommitStatement;
pub use self::create::CreateStatement;
pub use self::delete::DeleteStatement;
pub use self::foreach::ForeachStatement;
pub use self::ifelse::IfelseStatement;
pub use self::info::InfoStatement;
pub use self::insert::InsertStatement;
pub use self::kill::KillStatement;
pub use self::live::LiveStatement;
pub use self::option::OptionStatement;
pub use self::output::OutputStatement;
pub use self::r#break::BreakStatement;
pub use self::r#continue::ContinueStatement;
pub use self::r#use::UseStatement;
pub use self::relate::RelateStatement;
pub use self::select::SelectStatement;
pub use self::set::SetStatement;
pub use self::show::ShowStatement;
pub use self::sleep::SleepStatement;
pub use self::throw::ThrowStatement;
pub use self::update::UpdateStatement;
pub use self::upsert::UpsertStatement;

pub use self::alter::{AlterStatement, AlterTableStatement};

pub use self::define::{
	DefineAccessStatement, DefineAnalyzerStatement, DefineDatabaseStatement, DefineEventStatement,
	DefineFieldStatement, DefineFunctionStatement, DefineIndexStatement, DefineModelStatement,
	DefineNamespaceStatement, DefineParamStatement, DefineStatement, DefineTableStatement,
	DefineUserStatement,
};

pub use self::remove::{
	RemoveAccessStatement, RemoveAnalyzerStatement, RemoveDatabaseStatement, RemoveEventStatement,
	RemoveFieldStatement, RemoveFunctionStatement, RemoveIndexStatement, RemoveModelStatement,
	RemoveNamespaceStatement, RemoveParamStatement, RemoveStatement, RemoveTableStatement,
	RemoveUserStatement,
};