Mike Conley wrote:
> Is it possible to rename and/or copy a table object in metadata?
>
> That is I have a table
>
> t1 = Table('t1', metadata, ...)
>
> I want a copy of that table as t2 in the same metadata, or rename it to
> t2.
>
> For right now, this is metadata manipulation only ignoring the underlying
> database.

there's nothing built in that does that.    you might build your own using
the way that tometadata() works to provide clues.




>
> --
> Mike Conley
>
> >
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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