SelectResult

public final class SelectResult

SelectResult factory.

  • Creates a SelectResult object with the given property name.

    Declaration

    Swift

    public static func property(_ property: String) -> SelectResultAs

    Parameters

    property

    The property name.

    Return Value

    The SelectResult.As object that you can give the alias name to the returned value.

  • Creates a SelectResult object with the given expression.

    Declaration

    Swift

    public static func expression(_ expression: ExpressionProtocol) -> SelectResultAs

    Parameters

    expression

    The expression.

    Return Value

    The SelectResult.As object that you can give the alias name to the returned value.

  • Creates a SelectResult object that returns all properties data. The query returned result will be grouped into a single CBLMutableDictionary object under the key of the data source name.

    Declaration

    Swift

    public static func all() -> SelectResultFrom

    Return Value

    The SelectResult.From object that you can specify the data source alias name.