Skip to content

Commit

Permalink
no more with
Browse files Browse the repository at this point in the history
  • Loading branch information
pdeffebach committed Oct 31, 2023
1 parent 4e11ffd commit abbe1ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/macros.jl
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ getsinglecolumn(df, s::DataFrames.ColumnIndex) = df[!, s]
getsinglecolumn(df, s) = throw(ArgumentError("Only indexing with Symbols, strings and integers " *
"is currently allowed with $DOLLAR"))

function with_helper(d, body)
function attach_helper(d, body)
# Make body an expression to force the
# complicated method of fun_to_vec
# in the case of QuoteNode
Expand Down Expand Up @@ -659,8 +659,8 @@ julia> @attach df @byrow :x * :y
!!! note
Using `AsTable` inside `@attach` block is currently not supported.
"""
macro with(d, body)
esc(with_helper(d, body))
macro attach(d, body)
esc(attach_helper(d, body))
end

ASTABLE_RHS_ORDERBY_DOCS = """
Expand Down

0 comments on commit abbe1ae

Please sign in to comment.