CBLQueryParameters
Undocumented
-
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
valueThe object. @pram name The parameter name.
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
valueThe String value. @pram name The parameter name.
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
valueThe NSNumber value. @pram name The parameter name.
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
valueThe integer value. @pram name The parameter name.
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
valueThe long long value. @pram name The parameter name.
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
valueThe float value. @pram name The parameter name.
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
valueThe double value. @pram name The parameter name.
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
valueThe boolean value. @pram name The parameter name.
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
valueThe NSDate value. @pram name The parameter name.
name -
Get the parameter value.
Declaration
Objective-C
- (nullable id)valueForName:(nonnull NSString *)name;Parameters
nameThe 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;
CBLQueryParameters Class Reference