First page Back Continue Last page Overview Graphics


Notes:

Sequel supports recursive queries using the with_recursive method. This method takes 3 arguments.

The first argument is the alias to use for the common table expression.

The second argument is the dataset for the nonrecursive case. The third argument is the dataset for the recursive case.

You can load all descendents in a tree structure using the query above.