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;Swift
class func property(_ property: String) -> SelfParameters
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;Swift
class func property(_ property: String, as alias: String?) -> SelfParameters
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;Swift
class func expression(_ expression: CBLQueryExpression) -> SelfParameters
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;Swift
class func expression(_ expression: CBLQueryExpression, as alias: String?) -> SelfParameters
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;Swift
class func all() -> SelfReturn 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;Swift
class func all(from alias: String?) -> SelfParameters
aliasThe data source alias name
Return Value
The CBLQuerySelectResult.
-
Not available.
Declaration
Objective-C
- (nonnull instancetype)init;
CBLQuerySelectResult Class Reference