CBLQueryParameters
@interface CBLQueryParameters : NSObject
Query parameters used for setting values to the query parameters defined in the query.
-
Set the value to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setValue:(nullable id)value forName:(nonnull NSString *)name;
Parameters
value
The object. @pram name The parameter name.
-
Set the String value to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setString:(nullable NSString *)value forName:(nonnull NSString *)name;
Parameters
value
The String value. @pram name The parameter name.
-
Set the NSNumber value to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setNumber:(nullable NSNumber *)value forName:(nonnull NSString *)name;
Parameters
value
The NSNumber value. @pram name The parameter name.
-
Set the integer value to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setInteger:(NSInteger)value forName:(nonnull NSString *)name;
Parameters
value
The integer value. @pram name The parameter name.
-
Set the long long value to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setLongLong:(long long)value forName:(nonnull NSString *)name;
Parameters
value
The long long value. @pram name The parameter name.
-
Set the float value to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setFloat:(float)value forName:(nonnull NSString *)name;
Parameters
value
The float value. @pram name The parameter name.
-
Set the double value to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setDouble:(double)value forName:(nonnull NSString *)name;
Parameters
value
The double value. @pram name The parameter name.
-
Set the boolean value to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setBoolean:(BOOL)value forName:(nonnull NSString *)name;
Parameters
value
The boolean value. @pram name The parameter name.
-
Set the NSDate object to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setDate:(nullable NSDate *)value forName:(nonnull NSString *)name;
Parameters
value
The NSDate value. @pram name The parameter name.
-
Set the CBLBlob value to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setBlob:(nullable CBLBlob *)value forName:(nonnull NSString *)name;
Parameters
value
The CBLBlob value.
name
The parameter name.
-
Set the CBLDictionary value to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setDictionary:(nullable CBLDictionary *)value forName:(nonnull NSString *)name;
Parameters
value
The CBLDictionary value.
name
The parameter name.
-
Set the CBLArray value to the query parameter referenced by the given name. A query parameter is defined by using the CBLQueryExpression’s + parameterNamed: method.
Declaration
Objective-C
- (void)setArray:(nullable CBLArray *)value forName:(nonnull NSString *)name;
Parameters
value
The CBLArray value.
name
The parameter name.
-
Get the parameter value.
Declaration
Objective-C
- (nullable id)valueForName:(nonnull NSString *)name;
Parameters
name
The name of the parameter.
Return Value
The value of the parameter.
-
Initializes the CBLQueryParameters object.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Initializes the CBLQueryParameters object with the parameters object.
Declaration
Objective-C
- (nonnull instancetype)initWithParameters: (nullable CBLQueryParameters *)parameters;