ADSQLJoinClause
public class ADSQLJoinClause
Holds the source table or table group for a SQL SELECT statement. If the type
is none
this is a single table name and not a join between two (or more) tables.
-
The type of join being created.
See moreDeclaration
Swift
public enum JoinType
-
The name of the parent table in a join operation or a literal table name is no join is being performed and the
type
property’s value isnone
.Declaration
Swift
public var parentTable: String = ""
-
The optional alias for the parent table.
Declaration
Swift
public var parentTableAlias: String = ""
-
The name of the child table in a join operation of empty string if no join is being performed.
Declaration
Swift
public var childTable: String = ""
-
The alias for the child table.
Declaration
Swift
public var childTableAlias: String = ""
-
If the child table is part of a join, this represents its join clause.
Declaration
Swift
public var childJoin: ADSQLJoinClause?
-
The type of join being performed.
Declaration
Swift
public var type: JoinType = .none
-
Defines the conditions that two tables are joined on or
nil
if no join is being performed.Declaration
Swift
public var onExpression: ADSQLExpression?
-
A list of columns that are part of the join.
Declaration
Swift
public var columnList: [String] = []