Sha256: 77e458abfc43aba7c7a36e5d93ace95b105d587df8ea356bc4c623924f16b1f5

Contents?: true

Size: 825 Bytes

Versions: 15

Compression:

Stored size: 825 Bytes

Contents

# Old SQL:
# Example Report Design Document
#
# Text not in quotes are column names from the SQL query
# Quoted text are labels that will appear in the report.
# Expressions like ( id + id ) * 10 below must be single 
# space delimited. So (id+id) will not parse correctly.
#
# NaN and Infinity are returned as zero. 
#
# Comments are lines beginning with a hash #. They are 
# stripped when this document is parsed.
#
# Values (either columns or expressions) are rounded by default. 
# To disable this set round_report_values to false in
# config/initializers/old_sql.rb. You can also change the
# precision, which is 2 by default.
#
id,name
"Example Math Operation",id + id
"Totals","..."
"Expression",( id + id ) * 10
"Divide by Zero 1",0 / 0
"Divide by Zero 2",1.0 / 0
"Divide by Zero 3",0.0 / 0.0
"Rounding",200.0 / 43.0

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
old_sql-1.16.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.15.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.14.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.13.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.12.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.11.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.10.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.9.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.8.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.7.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.6.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.5.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.4.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.3.0 lib/generators/old_sql/templates/user_design_template.csv
old_sql-1.2.0 lib/generators/old_sql/templates/user_design_template.csv