CBLQueryFactory
@protocol CBLQueryFactory <NSObject>
The QueryFactory interface defines a function for creating a query from the given SQL string.
-
Create a query object from an SQL string.
Declaration
Objective-C
- (nullable CBLQuery *)createQuery:(nonnull NSString *)query error:(NSError *_Nullable *_Nullable)error;
Parameters
query
Query expression
error
On return, the error if any., the given query string is invalid(e.g., syntax error).
Return Value
query created using the given expression string, or nil if an error occurred.