QueryBuilder
public final class QueryBuilder
A factory class to create a Select instance.
-
Create a SELECT statement instance that you can use further (e.g. calling the from() function) to construct the complete query statement.
Declaration
Swift
public static func select(_ results: SelectResultProtocol...) -> Select
Parameters
results
The array of the SelectResult object for specifying the returned values.
Return Value
A Select object.
-
Create a SELECT statement instance that you can use further (e.g. calling the from() function) to construct the complete query statement.
Declaration
Swift
public static func select(_ results: [SelectResultProtocol]) -> Select
Parameters
results
The array of the SelectResult object for specifying the returned values.
Return Value
A Select object.
-
Create a SELECT DISTINCT statement instance that you can use further (e.g. calling the from() function) to construct the complete query statement.
Declaration
Swift
public static func selectDistinct(_ results: SelectResultProtocol...) -> Select
Parameters
results
The array of the SelectResult object for specifying the returned values.
Return Value
A Select distinct object.
-
Create a SELECT DISTINCT statement instance that you can use further (e.g. calling the from() function) to construct the complete query statement.
Declaration
Swift
public static func selectDistinct(_ results: [SelectResultProtocol]) -> Select
Parameters
results
The array of the SelectResult object for specifying the returned values.
Return Value
A Select distinct object.