On Aug 12, 12:19 am, Andy Hird <[EMAIL PROTECTED]> wrote:
>
> But if I create the table using:
> account_stuff_table = Table('account_stuff', metadata,
>         Column('account_id', Integer,
> ForeignKey('account_ids.account_id'),
>             primary_key=True),
>         Column('credit', Numeric))
>

you should be able to say:

table = Table('account_stuff', metadata,
   Column('account_id', Integer, ForeignKey('account_ids.account_id'),
primary_key=True),
   autoload=True)

and the rest of the columns will autoload.


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