@dxos/echo
    Preparing search index...

    Function project

    • Project a query's results to a single scalar property, for use as a membership set in Filter.in(Query.project(query, 'col')).

      Type Parameters

      • T
      • K extends string

      Parameters

      • query: Query.Query<T>

        Query to project.

      • property: K

        Property path to project.

      Returns Query.Projection<T[K]>

      Projection for use in Filter.in.

      O(1); wraps the current AST in a new immutable node without executing anything.