Re: [SQLObject] Managing hierarchical data
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2010-10-28 14:22:55
|
On Thu, Oct 28, 2010 at 01:09:59AM +0000, Mark wrote: > Is there a recommend way to deal with hierarchical data with SQLObject? > I think I'm going to simply keep track of my categories and their > hierarchy outside of SQLObject classes and then simply have all of my > objects contain a category id so I can list them under the proper > category. > > Reference: > http://dev.mysql.com/tech-resources/articles/hierarchical-data.html See also http://onlamp.com/pub/a/onlamp/2004/08/05/hierarchical_sql.html Oleg. -- Oleg Broytman http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |