Re: [sqlalchemy] Re: Modeling a Tree-looking structure in SqlAlchemy.

2010-12-15 Thread Hector Blanco
Thank you all... As soon as I have the webserver where I'm going to use that structure up and running, I'll try it and i'll let you know... 2010/12/13 Laurent Rahuel laurent.rah...@gmail.com: Hello, You should also take a look at http://pypi.python.org/pypi/sqlamp/0.5.2, an implementation of

[sqlalchemy] Re: Modeling a Tree-looking structure in SqlAlchemy.

2010-12-13 Thread Russell Warren
I was wondering which is the best way to model a tree-looking structure with SqlAlchemy. I've spent a lot of time dealing with different types of hierarchies in SQLAlchemy lately... One way is to use the nested sets model. This does a decent job at modelling hierarchies, at least as long as

[sqlalchemy] Re: Modeling a Tree-looking structure in SqlAlchemy.

2010-12-13 Thread Russell Warren
Sorry, I just saw I messed up the nested sets SQLA example link. Here is the right one: http://www.sqlalchemy.org/trac/browser/examples/nested_sets/nested_sets.py -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to

Re: [sqlalchemy] Re: Modeling a Tree-looking structure in SqlAlchemy.

2010-12-13 Thread Laurent Rahuel
Hello, You should also take a look at http://pypi.python.org/pypi/sqlamp/0.5.2, an implementation of Materialized Path for SQLAlchemy. Regards, Laurent Le 13 déc. 2010 à 23:30, Russell Warren a écrit : Sorry, I just saw I messed up the nested sets SQLA example link. Here is the right one: