Sha256: 0bef7240e2b3dc3f4a543519913509146f78fa18b51ff6fa389d23a684ed5cad

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

-- Instantiate this query with AppQuery[<%= (class_path << file_name).join("/").inspect %>]

WITH
  articles(article_id, article_title) AS (
    VALUES (1, 'Some title'),
           (2, 'Another article')
  ),
  authors(author_id, author_name) AS (
    VALUES (1, 'Some Author'),
           (2, 'Another Author')
  )

SELECT *
FROM artciles

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appquery-0.2.0 lib/rails/generators/query/templates/query.sql.tt