Order

public enum Order : Encodable, Equatable

An enum that determines the order to sort the results based on a given key.

Parameters

key

The key to order by.

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws