I have my table Warehouse collumns like:
id, owner_id .... , area_total, area_office ... ,area_storage
I would like to have acces to all areas by Warehouse.area.property:
example:
Warehouse.area.storage

I did composite(), but now I can't filter like:
filter(Warehouse.area.total >=100) and even not by
fitler(Warehouse.area_total >=100)

but i can access
Warehouse.area.total

I don't want to create aditional Area table, becouse that will create
expensive joins.

Is there any way to connect a group of fields to another "virtual"
relation?

ps. I tried has() and any() like with normal FKey.
--~--~---------~--~----~------------~-------~--~----~
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