Join

public struct Join: Fn

Join derives a set of resources from target by applying each instance in sourceSet to with target. Target can be either an index reference or a lambda function. The index form is useful when the instances in the sourceSet match the terms in an index. The join returns instances from index (specified by with) that match the terms from sourceSet.

Reference.

  • Declaration

    Swift

    public init(_ sourceSet: Expr, with target: Expr)

    Parameters

    sourceSet

    Set to perform the join.

    target

    Can be either an index reference or a lambda function.

  • Declaration

    Swift

    public init(_ sourceSet: Expr, lambda: (Expr) -> Expr)

    Parameters

    sourceSet

    Set to perform the join.

    lambda

    Lambda function to be used for join.

  • Declaration

    Swift

    public init(_ sourceSet: Expr, lambda: ((Expr, Expr)) -> Expr)

    Parameters

    sourceSet

    Set to perform the join.

    lambda

    Lambda function to be used for join.

  • Declaration

    Swift

    public init(_ sourceSet: Expr, lambda: ((Expr, Expr, Expr)) -> Expr)

    Parameters

    sourceSet

    Set to perform the join.

    lambda

    Lambda function to be used for join.

  • Declaration

    Swift

    public init(_ sourceSet: Expr, lambda: ((Expr, Expr, Expr, Expr)) -> Expr)

    Parameters

    sourceSet

    Set to perform the join.

    lambda

    Lambda function to be used for join.

  • Declaration

    Swift

    public init(_ sourceSet: Expr, lambda: ((Expr, Expr, Expr, Expr, Expr)) -> Expr)

    Parameters

    sourceSet

    Set to perform the join.

    lambda

    Lambda function to be used for join.