KindOfConnection.
A kind of connection, as a row: its roles and what each role allows
Figure 1KindOfConnectionspecified
- kind
- row
- scope
- platform
- key
- its name
- store
- postgres
- family
- record
Fields#
| field | type | required | note |
|---|---|---|---|
name | text | yes | |
roles | ConnectionRole | yes | |
from_header | HeaderRule | no | the rule that makes this kind of connection from the shared silver header, when the kind has one: each role bound to a header column, and when the rule applies; a kind with no rule makes no view |
adds | SourceField | no | the fields the kind adds, typed as a source object declares its fields; each is a typed column of the kind’s gold table |
layer | one of relational | associative | semantic | none | yes | the layer of likeness it feeds, if any |
materialised_under_a_cut | bool | yes | for co-presence |
symmetric | bool | no | |
transitive | bool | no | a derivation may walk it to a depth only when true |
inverse_of | KindOfConnection | no |
Routes that use it#
No route takes or returns KindOfConnection directly. The record holds it, and the objects that point at it reach it.