Skip to content

routier-collection


routier-collection / core/src / distinctJoinKeys

Function: distinctJoinKeys() ​

distinctJoinKeys(rows, reference, threshold, options?): Set<unknown>

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

The distinct join keys of the outer rows, or null when there are too many to be worth sending.

null means "do not prefilter", not "no keys" — an empty SET is a real answer meaning the inner side cannot match anything.

Parameters ​

rows ​

readonly UnknownRecord[]

reference ​

JoinKeyReference

threshold ​

number = DEFAULT_SEMI_JOIN_KEY_THRESHOLD

options? ​

storageShape? ​

boolean

Returns ​

Set<unknown>

Released under the MIT License.