Scale Intelligence■ Docs
Docs / The model / KindOfConnection

KindOfConnection.

A kind of connection, as a row: its roles and what each role allows

Figure 1KindOfConnectionspecified
KINDOFCONNECTIONrow at platform scopenametextroles[ConnectionRole]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 (D-106)from_headerHeaderRuleoptionalthe fields the kind adds, typed as a source object declares its fields; each is a typed column of the kind's gold tableadds[SourceField]optionalthe layer of likeness it feeds, if anylayerenum:relational|asso…for co-presencematerialised_under_a_c…boolsymmetricbooloptionala derivation may walk it to a depth only when truetransitivebooloptionalinverse_ofKindOfConnectionoptionalCONNECTIONROLEthrough rolesHEADERRULEthrough from_headerSOURCEFIELDthrough adds
KindOfConnection is a row at platform scope. The drawing shows its fields and the objects that they point at.
kind
row
scope
platform
key
its name
store
postgres
family
record

Fields#

fieldtyperequirednote
nametextyes
rolesConnectionRoleyes
from_headerHeaderRulenothe 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
addsSourceFieldnothe fields the kind adds, typed as a source object declares its fields; each is a typed column of the kind’s gold table
layerone of relational | associative | semantic | noneyesthe layer of likeness it feeds, if any
materialised_under_a_cutboolyesfor co-presence
symmetricboolno
transitiveboolnoa derivation may walk it to a depth only when true
inverse_ofKindOfConnectionno

Routes that use it#

No route takes or returns KindOfConnection directly. The record holds it, and the objects that point at it reach it.