CBLQueryLimit

@interface CBLQueryLimit : NSObject

A CBLQueryLimit represents a query LIMIT clause used for constrainting the number of results returned by a query.

  • Create a LIMIT component to limit the number of results to not more than the given limit value.

    Declaration

    Objective-C

    + (nonnull CBLQueryLimit *)limit:(nonnull CBLQueryExpression *)expression;
  • Create a LIMIT component to skip the returned results for the given offset position and to limit the number of results to not more than the given limit value.

    Declaration

    Objective-C

    + (nonnull CBLQueryLimit *)limit:(nonnull CBLQueryExpression *)expression
                              offset:(nullable CBLQueryExpression *)expression;
  • Unavailable

    Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;