Hi,

I'm playing with z3c.sqlalchemy and it works perfectly but I don't see how to pass properties to my mapper.


Let's say I create a model  :

model.add(name='TBL', mapper_class=TBLClass)


But I want to rename my columns to make fit my fields names with my interface's attributes. In SQLAlchemy I would simply add this to my mapper :

properties={'Col1New': TBL.c.Col1Old,'Col2New': TBL.c.Col2Old}

Is it possible to include it in my z3c.sqlalchemy's model?

Thank you.


_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to