CBLQuerySelectResult
@interface CBLQuerySelectResult : NSObject
A CBLQuerySelectResult represents a returning value in each query result row.
-
Creates a CBLQuerySelectResult for the given property name.
Declaration
Objective-C
+ (nonnull instancetype)property:(nonnull NSString *)property;Parameters
propertyThe property name.
Return Value
The CBLQuerySelectResult.
-
Creates a CBLQuerySelectResult for the given property name and the alias name.
Declaration
Objective-C
+ (nonnull instancetype)property:(nonnull NSString *)property as:(nullable NSString *)alias;Parameters
propertyThe property name.
aliasThe alias name.
Return Value
The CBLQuerySelectResult.
-
Creates a CBLQuerySelectResult for the given expression.
Declaration
Objective-C
+ (nonnull instancetype)expression:(nonnull CBLQueryExpression *)expression;Parameters
expressionThe expression.
Return Value
The CBLQuerySelectResult.
-
Creates a CBLQuerySelectResult for the given expression and the alias name.
Declaration
Objective-C
+ (nonnull instancetype)expression:(nonnull CBLQueryExpression *)expression as:(nullable NSString *)alias;Parameters
expressionThe expression.
aliasThe alias name.
Return Value
The CBLQuerySelectResult.
-
Creates a CBLQuerySelectResult that returns all properties data. The query returned result will be grouped into a single CBLMutableDictionary object under the key of the data source name.
Declaration
Objective-C
+ (nonnull instancetype)all;Return Value
The CBLQuerySelectResult.
-
Creates a CBLQuerySelectResult that returns all properties data. The query returned result will be grouped into a single CBLMutableDictionary object under the key of the data source name key or the given alias data source name if specified.
Declaration
Objective-C
+ (nonnull instancetype)allFrom:(nullable NSString *)alias;Parameters
aliasThe data source alias name
Return Value
The CBLQuerySelectResult.
-
Unavailable
Not available.
Declaration
Objective-C
- (nonnull instancetype)init;
CBLQuerySelectResult Class Reference