QueryFactory
public protocol QueryFactory
The QueryFactory interface defines a function for creating a query from the given SQL string.
-
Creates a Query object from the given query string.
Throws
An error on when the given query string is invalid.Declaration
Swift
func createQuery(_ query: String) throws -> Query
Parameters
query
Query string
Return Value
A query created by the given query string.