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
property
The 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
property
The property name.
alias
The alias name.
Return Value
The CBLQuerySelectResult.
-
Creates a CBLQuerySelectResult for the given expression.
Declaration
Objective-C
+ (nonnull instancetype)expression:(nonnull CBLQueryExpression *)expression;
Parameters
expression
The 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
expression
The expression.
alias
The 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
alias
The data source alias name
Return Value
The CBLQuerySelectResult.
-
Unavailable
Not available.
Declaration
Objective-C
- (nonnull instancetype)init;