"Gaetan de Menten" <[EMAIL PROTECTED]> writes:

> class Customer(Entity):
>    has_field('id', Integer, primary_key=True)
>    has_field('name', String)
>    using_options(tablename='customers')
>    using_table_options(schema='cvt')
>
> But I've never used schemas with Elixir, so I'm not sure it works...
> It should but... you know...

I remember something like that, indeed...  As I said, I'm not sure how
it worked. :-)  But it did work.  My applications here share a database
with 17 schemas, as of now (and it should grow bigger when other modules
are coded) so I needed it to work to evaluate Elixir. :-)

> From what I just read in SQLAlchemy docs, you could also specify the
> schema in the connection string...

It will hardly make sense...  Just if you have something like a schema
per user or something like that.



-- 
Jorge Godoy      <[EMAIL PROTECTED]>

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

Reply via email to