Skip to content

routier-collection


routier-collection / core/src / readJoinKey

Function: readJoinKey()

readJoinKey(row, reference): unknown

Defined in: core/src/plugins/query/join.ts:88

Reads a join key off an entity-shape row.

Through the PropertyInfo when there is one, so a nested path (a.b.id) resolves the same way every other option resolves it. The string fallback exists for an option that crossed a wire without its schema; it walks the same path by name.

Parameters

row

UnknownRecord

reference

JoinKeyReference

Returns

unknown

Released under the MIT License.