Buildable
public protocol Buildable
Defines the protocol which all query components must implement. Each query component should be able to return its representation as a String.
-
Build the query component using
QueryBuilder
.Throws
QueryError.syntaxError if query build fails.Declaration
Swift
func build(queryBuilder: QueryBuilder) throws -> String
Parameters
queryBuilder
The QueryBuilder to use.
Return Value
A String representation of the query component.