lib/active_reporting/reporting_dimension.rb
# Fragments of a select statement for queries that use the dimension
#
# @return [Array]
Fragments of a select statement for queries that use the dimension
Fragments of a select statement for queries that use the dimension
def select_statement(with_identifier: true)
      ss = ["#{label_fragment} AS #{label_fragment_alias}"]
      ss << "#{identifier_fragment} AS #{identifier_fragment_alias}" if with_identifier && type == Dimension::TYPES[:standard]
      ss
    end
def select_statement ( with_identifier : true ) ss = [ "#{label_fragment} AS #{label_fragment_alias}" ] ss << "#{identifier_fragment} AS #{identifier_fragment_alias}" if with_identifier && type == Dimension :: TYPES [ :standard ] ss end
Fragments of a select statement for queries that use the dimension
Fragments of a select statement for queries that use the dimension
None
Array
with_identifier
<not_specific>