On Oct 24, 2008, at 3:28 PM, john.goodleaf wrote:

>
> It looks like it might be easier to define a Table object  using the
> view, specifying a PrimaryKeyConstraint and then using the mapper
> function to tie it to a class. Do you think this would work?

that's exactly how it would work, you just need to indicate the Column  
objects within the Table explicitly instead of relying upon  
autoload=True.  Everything else works the same way.


--~--~---------~--~----~------------~-------~--~----~
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