Scale Intelligence■ Docs
Docs / The model / Connection

Connection.

A connection with any number of members, one row for the connection and one for each member

Figure 1Connectionspecified
CONNECTIONfact at follows scopekindKindOfConnectioneach with its role; a member's kind must be one its role allowsmembers[ConnectionMember]what the kind adds: a share, a code, a weight, a periodaddsjsonoptionalfor co-presence: the monthperiodtextoptionalwhole millionths, so a collapse over months is the same in any order of rows (SR-0437)weightcountoptionalrecipe_versiontextoptionalKINDOFCONNECTIONthrough kindCONNECTIONMEMBERthrough members
Connection is a fact at follows scope. The drawing shows its fields and the objects that they point at.
kind
fact
scope
follows
key
its kind, its members with their roles, the source and the time
store
lake:ready
family
record

Fields#

fieldtyperequirednote
kindKindOfConnectionyes
membersConnectionMemberyeseach with its role; a member’s kind must be one its role allows
addsjsonnowhat the kind adds: a share, a code, a weight, a period
periodtextnofor co-presence: the month
weightcountnowhole millionths, so a collapse over months is the same in any order of rows
recipe_versiontextno

Routes that use it#

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