Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

ARel support for `WITH [RECURSIVE]` queries

#6305

PostgreSQL docs on performing WITH RECURSIVE queries: http://www.postgresql.org/docs/8.4/static/queries-with.html
This makes it possible to query tree-like tables in a single query.

Examples of the queries: https://gist.github.com/783520

Reference: http://twitter.com/#!/tenderlove/status/27119261860237312

Reported by Paul Sadauskas (Rando) · January 17th, 2011 @ 09:52 PM

State: committed
Milestone: none
Assigned to: Aaron Patterson Aaron Patterson
Importance: Low

Activity

  1. Aaron Patterson
    Aaron Patterson
    • State changed from new to committed
    • Importance changed from to Low

    Support for WITH RECURSIVE is in Arel master and will be released with arel 2.1.0.

    February 25th, 2011 @ 11:43 PM