Re: modeling complex data with sqlalchemy

2012-08-26 Thread Littlefield, Tyler
Hello: Thanks for the info. IT doesn't really model the data I wanted. The contents was easy enough, I'm just going to set up a 1:n relationship on the Entity to the actual player. But for components, it's a bit different. Each component inherits the actual Component class, and has a number of

modeling complex data with sqlalchemy

2012-08-25 Thread Littlefield, Tyler
Hello all: I had a quick question. In my game, I have an is-a setup, where all objects contain data like an id for sqlalchemy, a name, a description and a list of contents. In order to add functionality to an object, you add components. So for example, a player would have the Player and Living c