ExpandTransform

open class ExpandTransform : TransformValue

Represents an expand transform item.

  • Declaration

    Swift

    override open func copyMutable() -> DataValue

    Return Value

    A clone of this value if it (together with all value subcomponents) is possibly mutable, or return self value if it (together with all value subcomponents) is definitely immutable. The resulting value might share mutable metadata with this query.

  • Creates an expand transformation item.

    Declaration

    Swift

    open class func create(_ propertyPath: PropertyPath) -> ExpandTransform

    Parameters

    propertyPath

    The property path of the navigation property to be expanded in the expand transformation.

    Return Value

    The expand transformation item.

  • The child expand item to be applied.

    Declaration

    Swift

    @inline(__always)
    public final var expandItem: 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 item with a child expand transformation item.

    Declaration

    Swift

    open class func withExpand(_ propertyPath: PropertyPath, expandItem: ExpandTransform) -> ExpandTransform

    Parameters

    propertyPath

    The property path of the navigation property to be expanded in the expand transformation.

    expandItem

    The child expand transformation item of the expand transformation item to be created.

    Return Value

    The expand transformation item.

  • Creates an expand transformation item with a filter transformation.

    Declaration

    Swift

    open class func withFilter(_ propertyPath: PropertyPath, filter: FilterTransform) -> ExpandTransform

    Parameters

    propertyPath

    The property path of the navigation property to be expanded in the expand transformation.

    filter

    The filter transform of the expand transformation item to be created.

    Return Value

    The expand transformation item.