As Jeremy said, the non-recursive version is a little slower, but I find it
suitably fast for my needs for generating nested menus for websites (which
won't have but 30 or 40 entries and 3 levels deep at most in practice).

If you need the tree functionality, install sequel_plus gem that I put
together:

http://github.com/mwlang/sequel_plus

for more info and how to install and use.

Regards,

Michael

On Tue, Mar 23, 2010 at 7:06 AM, Simon Arnaud <[email protected]> wrote:

> I think it should ship with sequel, as an extension.
> It is a great addition, and usefull in a lot of cases.
>
> Could it be emulated on databases without recursion ?
> I have something that is mostly this for SQLite, without a flexible
> "to a given level", based on "Tree - All Ancestors and Descendents"
> from the documentation.
> Re-reading this section, it already talks about rcte it seems.
>
> Simon
>
> --
> You received this message because you are subscribed to the Google Groups
> "sequel-talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<sequel-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/sequel-talk?hl=en.
>
>


-- 
http://codeconnoisseur.org

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to