On 4/21/07, zopyx01 <[EMAIL PROTECTED]> wrote:
>
> How can you use autoload=True with a table sitting in a custom DB
> schema e.g. in Postgres:
>
> class Foo(Entity):
> using_options(tablename='mytable', schema='someschema',
> autoload=True)
>
> does not work. I suggest that you should introduce a new 'schema'
> option and pass it through down to
> the Table(..) call.
As I said yesterday, this:
class Foo(Entity):
using_options(tablename='mytable', schema='someschema', autoload=True)
using_table_options(schema='someschema')
should work.
I'm not sure if introducing a new option would be really worth it.
--
Gaƫtan de Menten
http://openhex.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---