FunctionType

public enum FunctionType: String

Functions used aggregation.

  • max

    A function to calculate max of a field of queried objects.

    Declaration

    Swift

    case max
  • sum

    A function to calculate sum of a field of queried objects.

    Declaration

    Swift

    case sum
  • min

    A function to calculate min of a field of queried objects.

    Declaration

    Swift

    case min
  • A function to calculate mean of a field of queried objects.

    Declaration

    Swift

    case mean
  • A function to count queried objects.

    Declaration

    Swift

    case count