activemapper should support this pattern. we do have a test case for a self-referential relationship using one-to-many:
http://www.sqlalchemy.org/trac/browser/sqlalchemy/trunk/test/ext/ activemapper.py#L223 a self-referential relationship with many-to-many should be similar, as its easily supported by SA itself. the only thing thats missing is the ability for the many_to_many function to figure out the separate "primary" and "secondary" joins on the table, which might require some extra arguments (such as, which column in the entity table is the "parent", and which is the "child" ?) On Jul 26, 2006, at 1:33 AM, Sanjaya Kumar Patel wrote: > It just came to my mind that this kind of relationship, as I > remember, can > be handled by Rails ActiveRecord. So, just curious to know whether > this can > be in store in future, or there is any technical infeasiblity which > prevents > ActiveMapper to follow Rails ActiveRecord pattern fully. > > Thanks > Sanjay > > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Sqlalchemy-users mailing list > Sqlalchemy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users