Re: [Sqlalchemy-users] SQL design pattern and Activemapper

2006-07-31 Thread Michael Bayer
we do have a self-referential example using ActiveMapper: http://www.sqlalchemy.org/trac/browser/sqlalchemy/trunk/test/ext/ activemapper.py#L223 i think the problem you have is that youre putting "comment_id", which is the name of a table column, as the backref name. it should be the name

[Sqlalchemy-users] SQL design pattern and Activemapper

2006-07-30 Thread Graham Higgins
Hi, I've encountered a couple of instances of a specific SQL design pattern, aimed at mimicking a linked list (of comments and sub- comments to blog entries) and I'd just like to check that the pattern is known not to be supported in ActiveMapper. Michael Bayer describes the pattern as "hand