CBLQueryRow

@interface CBLQueryRow : NSObject

A single result from a CBLQuery. The NSEnumeration returned by -[CBLQuery run:] produces these.

  • The number of values in this row (if the query has a returning specification.)

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSUInteger valueCount;
  • The result value at the given index (if the query has a returning specification.)

    Declaration

    Objective-C

    - (nullable id)valueAtIndex:(NSUInteger)index;

    Parameters

    index

    The value index.

    Return Value

    The result value.

  • The result boolean value at the given index.

    Declaration

    Objective-C

    - (_Bool)booleanAtIndex:(NSUInteger)index;

    Parameters

    index

    The value index.

    Return Value

    The result boolean value.

  • The result integer value at the given index.

    Declaration

    Objective-C

    - (NSInteger)integerAtIndex:(NSUInteger)index;

    Parameters

    index

    The value index.

    Return Value

    The result integer value.

  • The result float value at the given index.

    Declaration

    Objective-C

    - (float)floatAtIndex:(NSUInteger)index;

    Parameters

    index

    The value index.

    Return Value

    The result float value.

  • The result double value at the given index.

    Declaration

    Objective-C

    - (double)doubleAtIndex:(NSUInteger)index;

    Parameters

    index

    The value index.

    Return Value

    The result double value.

  • The result string value at the given index.

    Declaration

    Objective-C

    - (nullable NSString *)stringAtIndex:(NSUInteger)index;

    Parameters

    index

    The value index.

    Return Value

    The result string value.

  • The result date value at the given index.

    Declaration

    Objective-C

    - (nullable NSDate *)dateAtIndex:(NSUInteger)index;

    Parameters

    index

    The value index.

    Return Value

    The result date value.

  • The result object value at the given index.

    Declaration

    Objective-C

    - (nullable id)objectAtIndexedSubscript:(NSUInteger)subscript;

    Parameters

    subscript

    The value index.

    Return Value

    The result object value.

  • Not Available.

    Declaration

    Objective-C

    - (nonnull instancetype)init;