提交 4e3b99da 编写于 作者: A Aaron Patterson

initialize our instance variables

上级 dfe79da7
......@@ -8,8 +8,13 @@ class Compound
:to => :relation
def initialize relation
@relation = relation
@attributes = nil
@relation = relation
@attributes = nil
@wheres = nil
@groupings = nil
@orders = nil
@havings = nil
@projections = nil
end
[:wheres, :groupings, :orders, :havings, :projections].each do |operation_name|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册