On

public final class On : Join

On component used for specifying join conditions.

  • Specify join conditions from the given expression.

    Declaration

    Swift

    public func on(_ expression: Expression) -> Join

    Parameters

    expression

    The Expression object specifying the join conditions.

    Return Value

    The Join object that represents a single JOIN clause of the query.