# Continuing pipe operator in Query.jl standalone query operators

**URL:** <https://discourse.julialang.org/t/continuing-pipe-operator-in-query-jl-standalone-query-operators/127745>\
**Category:** General Usage\
**Created:** [April 5, 2025, 3:51pm UTC](https://discourse.julialang.org/t/continuing-pipe-operator-in-query-jl-standalone-query-operators/127745 "2025-04-05T15:51:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bertlhf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bertlhf/32/38078_2.png) [@bertlhf](https://discourse.julialang.org/u/bertlhf)\
**Post date:** [April 5, 2025, 3:51pm UTC](https://discourse.julialang.org/t/continuing-pipe-operator-in-query-jl-standalone-query-operators/127745/1 "2025-04-05T15:51:36Z")

</div>

In Query.jl I can easily continue the pipe in a LINQ style query via parenthesis in the @query macro, for instance like this:

```julia
df = DataFrame(name=["John", "Sally", "Kirk"], age=[23., 42., 59.], children=[3,5,2])

@pipe df |> @query(i, begin
            @where i.age>50
            @select {i.name, i.children}
            end) |>
          DataFrame |>
          first(_)

```

My question now is how can I continue a pipe with the standalone operators; the following, of course, does not work.

```julia
@pipe df |> @groupby(_.a) |> @map({a=key(_), b=mean(_.b)}) |>
@filter(_.b > 5) |> @orderby_descending(_.b) |>
DataFrame |> first(_)

```

I would like to have a solution since I understood that most of the new features in Query.jl are coming for the standalone syntax.
