ExpandTransform
open class ExpandTransform : TransformValue, @unchecked Sendable
Represents the ‘expand’ 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 ‘expand’ transformation.
Declaration
Swift
open class func create(_ path: PropertyPath) -> ExpandTransformParameters
pathThe property path of the navigation property to be expanded in the expand transformation.
Return Value
The expand transformation.
-
The child expand item to be applied.
Declaration
Swift
@inline(__always) public final var expand: ExpandTransform? { get } -
The filter transform to be applied for the expand transformation.
Declaration
Swift
@inline(__always) public final var filter: FilterTransform? { get } -
The path of the navigation property to expand.
Declaration
Swift
public final var propertyPath: PropertyPath { get } -
Creates an ‘expand’ transformation with a child ‘expand’ transformation.
Declaration
Swift
open class func withExpand(_ path: PropertyPath, expand: ExpandTransform) -> ExpandTransformParameters
pathThe property path of the navigation property to be expanded in the expand transformation.
expandThe child expand transformation of the expand transformation to be created.
Return Value
The expand transformation.
-
Creates an ‘expand’ transformation with a ‘filter’ transformation.
Declaration
Swift
open class func withFilter(_ path: PropertyPath, filter: FilterTransform) -> ExpandTransformParameters
pathThe property path of the navigation property to be expanded in the expand transformation.
filterThe filter transform of the expand transformation to be created.
Return Value
The expand transformation.