Join

public class Join

A Join component representing a single join clause in the query statement.

  • Create a JOIN (same as INNER JOIN) component with the given data source. Use the returned On component to specify join conditions.

    Declaration

    Swift

    public static func join(_ datasource: DataSource) -> On
  • Create a LEFT JOIN (same as LEFT OUTER JOIN) component with the given data source. Use the returned On component to specify join conditions.

    Declaration

    Swift

    public static func leftJoin(_ datasource: DataSource) -> On
  • Create a LEFT OUTER JOIN component with the given data source. Use the returned On component to specify join conditions.

    Declaration

    Swift

    public static func leftOuterJoin(_ datasource: DataSource) -> On
  • Create an INNER JOIN component with the given data source. Use the returned On component to specify join conditions.

    Declaration

    Swift

    public static func innerJoin(_ datasource: DataSource) -> On
  • Create an CROSS JOIN component with the given data source. Use the returned On component to specify join conditions.

    Declaration

    Swift

    public static func crossJoin(_ datasource: DataSource) -> On