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

Reply via email to