"Wyatt Baldwin" <[EMAIL PROTECTED]> writes:

> Can I use multiple SQLite databases within a TurboGears application?
> If so, how? Similarly (I think?), how would I use multiple schemas in
> Postgres?

For multiple schemas in PostgreSQL you just specify the table name in your
sqlmeta class:

class SomeTable(SQLObject):
      class sqlmeta:
            table = 'schema.table'

      col1 = ...


But there's a bug on index creation for PostgreSQL (I haven't reported that
yet): it adds the schemaname to the index and it isn't valid.


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to