Couchbase Lite
Objective-C API for iOS and Mac OS
Instance Methods | Properties | List of all members
CBLQueryRow Class Reference

Detailed Description

A single result from a CBLQuery.

The NSEnumeration returned by -[CBLQuery run:] produces these.

Inheritance diagram for CBLQueryRow:
CBLFullTextQueryRow

Instance Methods

(nullable id) - valueAtIndex:
 The result value at the given index (if the query has a "returning" specification.) More...
 
(bool) - booleanAtIndex:
 
(NSInteger) - integerAtIndex:
 
(float) - floatAtIndex:
 
(double) - doubleAtIndex:
 
(nullable NSString *) - stringAtIndex:
 
(nullable NSDate *) - dateAtIndex:
 
(nullable id) - objectAtIndexedSubscript:
 
(instancetype) - NS_UNAVAILABLE
 

Properties

NSString * documentID
 The ID of the document that produced this row. More...
 
uint64_t sequence
 The sequence number of the document revision that produced this row. More...
 
CBLDocumentdocument
 The document that produced this row. More...
 

Method Documentation

- (nullable id) valueAtIndex: (NSUInteger)  index

The result value at the given index (if the query has a "returning" specification.)

- (bool) booleanAtIndex: (NSUInteger)  index
- (NSInteger) integerAtIndex: (NSUInteger)  index
- (float) floatAtIndex: (NSUInteger)  index
- (double) doubleAtIndex: (NSUInteger)  index
- (nullable NSString*) stringAtIndex: (NSUInteger)  index
- (nullable NSDate*) dateAtIndex: (NSUInteger)  index
- (nullable id) objectAtIndexedSubscript: (NSUInteger)  subscript
- (instancetype) NS_UNAVAILABLE

Property Documentation

- (NSString*) documentID
readnonatomicassign

The ID of the document that produced this row.

- (uint64_t) sequence
readnonatomicassign

The sequence number of the document revision that produced this row.

- (CBLDocument*) document
readnonatomicassign

The document that produced this row.


The documentation for this class was generated from the following file: