File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ struct GroupOfRows{Group, Row}
2323 row:: Row
2424end
2525
26- function key (group_of_rows:: GroupOfRows )
27- translate ( getfield (group_of_rows, :group ) )
26+ function QueryOperators . key (group_of_rows:: GroupOfRows )
27+ getfield (group_of_rows, :group )
2828end
2929
3030function getproperty (group_of_rows:: GroupOfRows , column_name:: Symbol )
Original file line number Diff line number Diff line change @@ -100,12 +100,16 @@ function realize(sql_expression::SQLExpression)
100100end
101101
102102function realize_final (sql_expression:: SQLExpression )
103- if sql_expression. call == :FROM
103+ if sql_expression. call in ( :FROM , Symbol ( " GROUP BY " ), Symbol ( " INNER JOIN " ))
104104 realize (SQLExpression (:SELECT , sql_expression, :* ))
105105 else
106106 realize (sql_expression)
107107 end
108108end
109109
110+ function realize_final (something)
111+ something
112+ end
113+
110114text (source_code:: SourceCode ) =
111115 realize_final (translate (source_code. code))
You can’t perform that action at this time.
0 commit comments