@lotics/cli 0.316.22 → 0.316.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/cli.js +420 -5798
- package/docs/data_model.md +2 -0
- package/package.json +1 -1
package/docs/data_model.md
CHANGED
|
@@ -163,6 +163,8 @@ A table is named by its alias wherever a call names one (`table_id`, a link's `t
|
|
|
163
163
|
- A link names its table by id, or by the `ref` of another table of the same call, and states its `multi`. A two-way link
|
|
164
164
|
states `pair` on one table, as `true` or as a free alias, and the platform makes the partner on the other table with the
|
|
165
165
|
inverse cardinality; a many-to-many link states both sides, since the inverse of many is not decided.
|
|
166
|
+
A link to its own table pairs with itself when `pair` is `true`, and with a second field of that table when `pair` names it
|
|
167
|
+
(a parent and its children).
|
|
166
168
|
A link already holding rows is paired the same way, with its partner stated beside it in the call: the partner is filled from
|
|
167
169
|
the links the rows hold and no cell of the link is rewritten. `pair: null` lets a pair go, both fields staying one-way links
|
|
168
170
|
with their values; a field that holds one row, the partner or the link itself, refuses a pair two rows would crowd, naming the rows.
|