Sha256: 69eb2076f1ecf56bde8e369684b2aac912b8d7238d888670f20858d4efbf7f03

Contents?: true

Size: 1.51 KB

Versions: 4

Compression:

Stored size: 1.51 KB

Contents

# Old SQL Reports YAML
# This is an example report. Replace it with your actual reports.
#
# 'description' is the value displayed in the 'SELECT A REPORT' drop down list.
#
# The 'report_sql' file should be located under config/old_sql/report_sql.
# See config/old_sql/report_sql/user_old_sql_demo.sql for an example.
#
# The 'processor' parameter is optional, and should point to a class in lib/old_sql.
# See lib/old_sql/user_old_sql_demo_processor.rb for an example.
# 
# 'report_processor' names should be capitalized and separated with underscores. The file
# itself should follow normal ruby class naming conventions.
#
# 'report_design' is also optional, and should point to a file in config/old_sql/report_design.
# See config/old_sql/report_design/user_old_sql_demo.csv for an example.
#
# 'report_view' is optional. It overrides the default_report_view defined in the initializer. It
# can be set to jqgrid, table, or chart.
#
# The 'fields' are the headers for the report.

user_jqgrid:
  description: User jqGrid
  report_sql: user_old_sql_demo
  report_design: user_old_sql_demo.csv
  report_view: jqgrid
  fields: 
    - 'id'
    - 'name'
    
user_table:
  description: User HTML Table
  report_sql: user_old_sql_demo
  report_processor: User_Old_Sql_Demo_Processor
  report_view: table
  fields: 
    - 'id'
    - 'name'
    
user_chart:
  description: User Chart
  report_sql: user_old_sql_demo
  report_design: user_old_sql_demo.yml
  report_view: chart
  fields: 
    - 'zero'
    - 'one'
    - 'two'
    - 'three'
    - 'four'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
old_sql-1.17.0 lib/generators/old_sql/templates/reports.yml.example
old_sql-1.16.0 lib/generators/old_sql/templates/reports.yml.example
old_sql-1.15.0 lib/generators/old_sql/templates/reports.yml.example
old_sql-1.14.0 lib/generators/old_sql/templates/reports.yml.example