CBLQueryJoin
@interface CBLQueryJoin : NSObject
A CBLQueryJoin represents the JOIN clause in the query statement.
-
Create a JOIN (same as INNER JOIN) component with the given data source and the on expression.
Declaration
Objective-C
+ (nonnull instancetype)join:(nonnull CBLQueryDataSource *)dataSource on:(nullable CBLQueryExpression *)expression;
Swift
convenience init(_ dataSource: CBLQueryDataSource, on expression: CBLQueryExpression?)
-
Create a LEFT JOIN (same as LEFT OUTER JOIN) component with the given data source and the on expression.
Declaration
Objective-C
+ (nonnull instancetype)leftJoin:(nonnull CBLQueryDataSource *)dataSource on:(nullable CBLQueryExpression *)expression;
Swift
class func leftJoin(_ dataSource: CBLQueryDataSource, on expression: CBLQueryExpression?) -> Self
-
Create a LEFT OUTER JOIN component with the given data source and the on expression.
Declaration
Objective-C
+ (nonnull instancetype)leftOuterJoin:(nonnull CBLQueryDataSource *)dataSource on:(nullable CBLQueryExpression *)expression;
Swift
class func leftOuterJoin(_ dataSource: CBLQueryDataSource, on expression: CBLQueryExpression?) -> Self
-
Create an INNER JOIN component with the given data source and the on expression.
Declaration
Objective-C
+ (nonnull instancetype)innerJoin:(nonnull CBLQueryDataSource *)dataSource on:(nullable CBLQueryExpression *)expression;
Swift
class func innerJoin(_ dataSource: CBLQueryDataSource, on expression: CBLQueryExpression?) -> Self
-
Create a CROSS JOIN component with the given data source and the on expression.
Declaration
Objective-C
+ (nonnull instancetype)crossJoin:(nonnull CBLQueryDataSource *)dataSource;
Swift
class func cross(_ dataSource: CBLQueryDataSource) -> Self
-
Not available.
Declaration
Objective-C
- (nonnull instancetype)init;