OrderTransform
open class OrderTransform : TransformValue, @unchecked Sendable
Represents the ‘orderby’ transformation.
-
Declaration
Swift
override open func copyMutable() -> DataValueReturn Value
A clone of this value if it (together with all value subcomponents) is possibly mutable, or return
selfvalue if it (together with all value subcomponents) is definitely immutable. The resulting value might share mutable metadata with this query. -
Creates an ‘orderby’ transformation with the given sort items.
Declaration
Swift
open class func orderBy(_ items: SortItem...) -> OrderTransformParameters
rest_itemsThe sort items for ordering.
Return Value
The created orderby transformation.
-
Creates an ‘orderby’ transformation with the given sort items.
Declaration
Swift
open class func orderByList(items: SortItemList) -> OrderTransformParameters
itemsThe sort items for ordering.
Return Value
The The created orderby transformation.
-
The sort items for the orderby transformation.
Declaration
Swift
public final var sortItems: SortItemList { get }