PropertyPath

open class PropertyPath : QueryValue, @unchecked Sendable

Abstract base class for Property and DataPath. Values of type PropertyPath are typically used in query construction.

See also

DataQuery.select, DataQuery.expand, DataQuery.orderBy.
  • Default initializer.

    Declaration

    Swift

    override public init()
  • Declaration

    Swift

    open func expand(_ items: PropertyPath...) -> ExpandablePath

    Parameters

    rest_items

    Expand items to be added to the expandable path.

    Return Value

    An expandable path starting with this property path.

  • Declaration

    Swift

    open func filter(test: QueryFilter) -> ExpandablePath

    Parameters

    test

    Query filter to be added to the expandable path.

    Return Value

    An expandable path starting with this property path.

  • Declaration

    Swift

    open func select(_ items: PropertyPath...) -> ExpandablePath

    Parameters

    rest_items

    Select items to be added to the expandable path.

    Return Value

    An expandable path starting with this property path.

  • Declaration

    Swift

    open func toPath() -> DataPath

    Return Value

    this property or path, expressed as a DataPath.