As
public final class As: SelectResult
SelectResult.As is a SelectResult that you can specify an alias name to it. The alias name can be used as the key for accessing the result value from the query Result object.
-
Specifies the alias name to the SelectResult object.
Declaration
Swift
public func `as`(_ alias: String) -> SelectResult
Parameters
alias
The alias name.
Return Value
The SelectResult object with the alias name specified.