lib/martyr/cube.rb in martyr-0.1.84.pre vs lib/martyr/cube.rb in martyr-0.1.85.pre
- old
+ new
@@ -69,11 +69,13 @@
delegate :main_fact, :build_fact_scopes, :sub_query, to: :fact_definitions
delegate :has_dimension_level, :has_count_distinct_metric, :has_min_metric, :has_max_metric, # DSL
:has_sum_metric, :has_custom_metric, :has_custom_rollup, :main_query, # DSL
:metrics, :find_metric, :dimension_associations, to: :main_fact # Runtime
- delegate :select, :slice, :granulate, :pivot, :build, to: :new_query_context_builder
+ delegate :select, :slice, :granulate, :pivot, :build, :granulate_and_select_all, to: :new_query_context_builder
alias_method :all, :new_query_context_builder
+
+ delegate :combined_sql, to: :granulate_and_select_all
end
def self.martyr_schema_class?
true
end