String
extension String: SQLDataType
extension String: QueryFilterProtocol, QueryHavingProtocol, QuerySuffixProtocol
-
Return database specific representation of the string type using
QueryBuilder
.Declaration
Swift
public static func create(queryBuilder: QueryBuilder) -> String
Parameters
queryBuilder
The QueryBuilder to use.
Return Value
A String representation of the type.
-
Process
String
as raw SQL usingQueryBuilder
.Throws
QueryError.syntaxError if query build fails.Declaration
Swift
public func build(queryBuilder: QueryBuilder) throws -> String
Parameters
queryBuilder
The QueryBuilder to use.
Return Value
A String representation of the query.