Hi all,
I've got two tables: Users (id, password) and UserProperties (user_id,
name, value). Is there a way to map the properties stored in
UserProperties as attributes of User object?
I mean,
john = User('john', 'password')
john.name = John Smith # creates UserProperty('john', 'name', 'John
See examples in sqlalchemy named dictlike.py und another 2 .
here there are for example
http://www.google.com/codesearch/p?hl=en#lIxjJFXSjns/trunk/code/prereq/SQLAlchemy-0.4.8/examples/vertical/dictlike.pyq=VerticalPropertyDictMixinsa=Ncd=1ct=rc
On Wed, Dec 2, 2009 at 10:30 AM, Sergey V.