ScalarFunction
public enum ScalarFunction: Buildable
An enumeration of the supported scalar functions that can applied on a column.
-
The SQL NOW function.
Declaration
Swift
case now
-
Build the query component using
QueryBuilder
.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 component.