On Wednesday 25 February 2009 15:00:41 Victor Lin wrote:
> Hi,
>
> I want to create an in-memory relation table, namely, a ManyToMany
> relation. How can I do?
>
> I know I can create entity in memory like this.
>
> class Proxy(Entity):
>     using_options(tablename='proxy')
>     using_table_options(mysql_engine='MEMORY')
>
> But I have no idea how to create a ManyToMany table in-memory. Can any
> one help me out?

Create a in-memory table, and pass that as table to the relationship so there 
is no implicit one generated.

Diez

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