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;
  • 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;
  • 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;
  • 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;
  • Create a CROSS JOIN component with the given data source and the on expression.

    Declaration

    Objective-C

    + (nonnull instancetype)crossJoin:(nonnull CBLQueryDataSource *)dataSource;
  • Unavailable

    Not available.

    Declaration

    Objective-C

    - (nonnull instancetype)init;