SelectResultAs

public protocol SelectResultAs: SelectResultProtocol

SelectResult with the aliasing function. 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

    func `as`(_ alias: String?) -> SelectResultProtocol

    Parameters

    alias

    The alias name.

    Return Value

    The SelectResult object with the alias name specified.