[EMAIL PROTECTED] wrote:
>
>> > [...]
>> > so waht you want is this:
>> >
>> > mapper(X, table, properties={
>> >     'x':table.c.x,
>> >    'y':table.c.y
>> > }, explicit_columns=True)
>> >
>> >
>> > which means, set up x and y, but dont go setting up everything
>> > else inside of table.c (i.e., no z).
>>
>> Yeah, that's exactly what I want, except the name
>> explicit_columns might not be the best. I'd find it natural to
>> be able to put more complex expressions/properties than simple
>> columns (as in other mappers), and that name would suggest we
>> can't. I'd rather see the opposite principle: something along
>> the lines of
>> map_all_columns=False (though I'm not sold on that particular
>> term).
>
> what about include_props=[..] and exclude props=[..] ?
> i'd rather not list again and again props on inheriting mappers..

I'd +1 something along those lines too.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to