Re: [sqlalchemy] Dynamically map/reference to another table based on tablename

2013-11-05 Thread Michael Bayer
On Nov 3, 2013, at 5:41 AM, Peter madp...@gmail.com wrote:Hi,I'm currently learning the how to set up a basic Entity System with sqlalchemy. The entity system requirements are described within this

Re: [sqlalchemy] Dynamically map/reference to another table based on tablename

2013-11-05 Thread Peter Lim
Dear Micheal, Wow, thank you very, very much for taking your time with clarifying my problem, this is exactly what I'm looking for. I had problems understanding polymorphic associations, I'll try to go through it again with the examples and the test code provided. I probably should have

[sqlalchemy] Dynamically map/reference to another table based on tablename

2013-11-03 Thread Peter
Hi, I'm currently learning the how to set up a basic Entity System with sqlalchemy. The entity system requirements are described within this link: http://t-machine.org/index.php/2009/10/26/entity-systems-are-the-future-of-mmos-part-5/ Basically, an Entity that lives with the world is defined