| 1 | //! Projections (spec §9.3): tables kept from the ledger in the same |
| 2 | //! transaction as each append, and rebuilt from it by `spectra admin |
| 3 | //! rebuild`. Every table here must be a function of the events alone; the |
| 4 | //! test harness and `spectra admin check` hold them to it. |
| 5 | |
| 6 | use crateEvent; |
| 7 | use SqliteConnection; |
| 8 | |
| 9 | /// The projection tables, in the order they are cleared and compared. |
| 10 | pub const TABLES: & = &; |
| 11 | |
| 12 | /// Apply one event to every projection. |
| 13 | pub async |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |