Hello everyone.
I have a kind of virtual class that I want to use as base class for
all the elements that are going to be stored in the database.
Initially I had:
-- BaseClass.py --
class BaseClass(object):
_id = Column(id, Integer, primary_key=True, key=id)
def
On Mar 23, 2011, at 5:47 PM, Hector Blanco wrote:
Hello everyone.
class BaseClass(object):
sqlRelationships_accelerator = None
internalAttrs_accelerator = None
properties_accelerator = None
_id = Column(id, Integer, primary_key=True, key=id)
Thank you so much!
I'll let you know!
P.S.:
just create the m2m table for the relationship as needed.
... and this is another evidence that my brain is not 100%
functional... Why didn't it occur to me? I dunno...
2011/3/23 Michael Bayer mike...@zzzcomputing.com:
On Mar 23, 2011, at 5:47
Yeeey!!
It works!
I had to deal with the primaryjoins/secondaryjoins thing but it worked.
I'm attaching it, just in case it can help someone else!
2011/3/23 Hector Blanco white.li...@gmail.com:
Thank you so much!
I'll let you know!
P.S.:
just create the m2m table for the relationship