it is available via __table_args__, i.e.: class MyClass(...): __table_args__ = {'schema':'myschema'}
On Sep 2, 2008, at 6:35 AM, Diez B. Roggisch wrote: > > Hi, > > I'm trying to enhance sqlalchemy-migrate to have schema-support. In > the latest > SVN-Versions, it supports declarative mappers. > > I don't know much about these (I use Elixir), and didn't find > anything in the > docs. So I wonder: is there a way to declare a schema-name, > additional to the > __tablename__? > > Diez > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---