This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dido:public:s_cli:05_contents:01_prt:06_dddl:aggregates [2021/06/15 15:21] nick |
dido:public:s_cli:05_contents:01_prt:06_dddl:aggregates [2022/02/03 20:35] (current) 52.45.51.99 ↷ Links adapted because of a move operation |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| [[dido:public:s_cli:05_contents:01_prt:04_dll:start| Return to DidoDLL]] | [[dido:public:s_cli:05_contents:01_prt:04_dll:start| Return to DidoDLL]] | ||
| - | An Aggregate is when a new Smart Contract is created from a collection of other Smart Contracts and the originally Smart Contracts no longer exist as entities. For example, a can of soup is an aggregate of a can, tomatoes, salt, and other sices. Each of the original objects contained within a Smart Contract are not part of the can of soup. | + | An Aggregate is when a new [[dido:public:ra:xapend:xapend.a_glossary:s:smart_contract|Smart Contract]] is created from a collection of other Smart Contracts and the originally Smart Contracts no longer exist as entities. For example, a can of soup is an aggregate of a can, tomatoes, salt, and other sices. Each of the original objects contained within a Smart Contract are not part of the can of soup. |
| <code sql> | <code sql> | ||
| Line 23: | Line 23: | ||
| Broth.id = '$8' | Broth.id = '$8' | ||
| RECORD {"Tomatoes", Tomatoes.id} and | RECORD {"Tomatoes", Tomatoes.id} and | ||
| - | {"Salt", "Salt.id} and | + | {"Salt", Salt.id} and |
| - | {"Spice", "Spice.id} and | + | {"Spice", Spice.id} and |
| - | {"Water", "Water.id} and | + | {"Water", Water.id} and |
| - | {"Onion", "Onion.id} and | + | {"Onion", Onion.id} and |
| - | {"Butter", "Butter.id} and | + | {"Butter", Butter.id} and |
| - | {"Oregano", "Oregano.id} and | + | {"Oregano", Oregano.id} and |
| - | {"Broth", "Broth.id} | + | {"Broth", Broth.id} |
| AS parents, | AS parents, | ||
| - | "Canning" AS process; | + | "Canning Factory Q, Assembly Line 1" AS process; |
| </code> | </code> | ||