Skip to content

Commit

Permalink
missed $
Browse files Browse the repository at this point in the history
  • Loading branch information
drizk1 committed Oct 18, 2024
1 parent fd57b18 commit e795c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TBD_macros.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ macro select(sqlquery, exprs...)
exprs = parse_blocks(exprs...)
# exprs_str = parse_interpolation2.(exprs)
return quote
#exprs_str = map(expr -> isa(expr, Symbol) ? string(expr) : expr, $exprs)
exprs_str = map(expr -> isa(expr, Symbol) ? string(expr) : expr, $exprs)
let columns = parse_tidy_db(exprs_str, $(esc(sqlquery)).metadata)
columns_str = join(["SELECT ", join([string(column) for column in columns], ", ")])
$(esc(sqlquery)).select = columns_str
Expand Down

0 comments on commit e795c1e

Please sign in to comment.