Join
public class Join
Join factory.
-
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: DataSourceProtocol) -> JoinOnProtocol
Parameters
datasource
The DataSource object of the JOIN clause.
Return Value
The On object used for specifying join conditions.
-
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: DataSourceProtocol) -> JoinOnProtocol
Parameters
datasource
The DataSource object of the JOIN clause.
Return Value
The On object used for specifying join conditions.
-
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: DataSourceProtocol) -> JoinOnProtocol
Parameters
datasource
The DataSource object of the JOIN clause.
Return Value
The On object used for specifying join conditions.
-
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: DataSourceProtocol) -> JoinOnProtocol
Parameters
datasource
The DataSource object of the JOIN clause.
Return Value
The On object used for specifying join conditions.
-
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: DataSourceProtocol) -> JoinProtocol
Parameters
datasource
The DataSource object of the JOIN clause.
Return Value
The On object used for specifying join conditions.