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 -> StringParameters
queryBuilderThe QueryBuilder to use.
Return Value
A String representation of the query component.
View on GitHub
Buildable Protocol Reference