• Freezes any accepted FlowrSearchLike into a FlowrSearch.

    Type Parameters

    • Search extends FlowrSearchLike<
          ParentInformation,
          "get"
          | "from"
          | "all"
          | "criterion"
          | "from-query",
          (
              | "map"
              | "filter"
              | "with"
              | "index"
              | "skip"
              | "first"
              | "last"
              | "tail"
              | "take"
              | "merge"
              | "select"
          )[],
          FlowrSearchElements<
              ParentInformation,
              FlowrSearchElement<ParentInformation>[],
          >,
      >

    Parameters

    • search: Search
    • optimizeIfBuild: boolean = true

    Returns SearchOutput<Search>