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
//! This module defines the lifecycle of everything that happens in a document.
//! A document is a row that has the following:
//! - `Thing`: name of the table and ID of the record
//! - `current`: value after the transaction
//! - `initial`: value before the transaction
//! - `id`: traditionally an integer but can be an object or collection such as an array
pub use *;
pub use AsyncEventRecord;
pub use DefaultBroker;
// The entry point for a document to be processed
// Processes a CREATE statement for this document
// Processes a DELETE statement for this document
// Processes a INSERT statement for this document
// Processes a RELATE statement for this document
// Processes a SELECT statement for this document
// Processes a UPDATE statement for this document
// Processes a UPSERT statement for this document
// Modifies and updates the fields in this document
// Processes any change feeds relevant for this document
// Data and condition checking for this document
pub // Compute computed fields for this document
// Attempts to store the edge data for this document
// Processes any table events relevant for this document
// Processes any schema-defined fields for this document
// Attempts to store the index data for this document
// Captures live-query events for this document (Router engine)
// Processes any live queries relevant for this document
// Builds the projected output for a document
// Deletes this document, and any edges or indexes
// Reduces the permissioned fields in this document
// Writes the document content to the storage engine
// Processes any foreign tables relevant for this document'
/// Error result used when a function can result in the value being processed
/// being ignored.
/// A type of action that triggers an event or view update
pub