ScalarColumnExpression
public struct ScalarColumnExpression : Field
An expression containing a scalar function applied on a column.
-
The alias of the field.
Declaration
Swift
public var alias: String?
-
The scalar function to apply.
Declaration
Swift
public private(set) var function: ScalarFunction { get }
-
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.