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;Swift
var valueCount: UInt { get } -
The result value at the given index (if the query has a
returning
specification.)Declaration
Objective-C
- (nullable id)valueAtIndex:(NSUInteger)index;Swift
func value(at index: UInt) -> Any?Parameters
indexThe value index.
Return Value
The result value.
-
The result boolean value at the given index.
Declaration
Objective-C
- (_Bool)booleanAtIndex:(NSUInteger)index;Swift
func boolean(at index: UInt) -> BoolParameters
indexThe value index.
Return Value
The result boolean value.
-
The result integer value at the given index.
Declaration
Objective-C
- (NSInteger)integerAtIndex:(NSUInteger)index;Swift
func integer(at index: UInt) -> IntParameters
indexThe value index.
Return Value
The result integer value.
-
The result float value at the given index.
Declaration
Objective-C
- (float)floatAtIndex:(NSUInteger)index;Swift
func float(at index: UInt) -> FloatParameters
indexThe value index.
Return Value
The result float value.
-
The result double value at the given index.
Declaration
Objective-C
- (double)doubleAtIndex:(NSUInteger)index;Swift
func double(at index: UInt) -> DoubleParameters
indexThe value index.
Return Value
The result double value.
-
The result string value at the given index.
Declaration
Objective-C
- (nullable NSString *)stringAtIndex:(NSUInteger)index;Swift
func string(at index: UInt) -> String?Parameters
indexThe value index.
Return Value
The result string value.
-
The result date value at the given index.
Declaration
Objective-C
- (nullable NSDate *)dateAtIndex:(NSUInteger)index;Swift
func date(at index: UInt) -> Date?Parameters
indexThe value index.
Return Value
The result date value.
-
The result object value at the given index.
Declaration
Objective-C
- (nullable id)objectAtIndexedSubscript:(NSUInteger)subscript;Swift
subscript(subscript: UInt) -> Any? { get }Parameters
subscriptThe value index.
Return Value
The result object value.
-
Not Available.
Declaration
Objective-C
- (nonnull instancetype)init;
CBLQueryRow Class Reference