Sha256: 6da0ece4ae6d7bf3443bba87a1cbf20ea27f7e48a8c77b8201f311e6ff54e339

Contents?: true

Size: 511 Bytes

Versions: 7

Compression:

Stored size: 511 Bytes

Contents

# filename: daily_summary.sql
owner: jackdanger
schedule: hourly
requires:
  - daily_payments
  - hourly_users
  - some_other_value
data:
  production:
    output_table: summaries
    update_condition:
  development:
    output_table: jackdanger_summaries
    update_condition: WHERE 1 <> 1
---
INSERT INTO {{{output_table}}} -- this query is joined to one line
  SELECT COUNT(*) FROM interesting_information; -- and the comments get stripped
UPDATE summaries_performed SET complete = 1 {{{update_condition}}};

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hsql-0.3.4 examples/simple.sql
hsql-0.3.3 examples/simple.sql
hsql-0.3.2 examples/simple.sql
hsql-0.3.1 examples/simple.sql
hsql-0.3.0 examples/simple.sql
hsql-0.2.1 examples/simple.sql
hsql-0.2.0 examples/simple.sql