Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In CL Postmodern what :col-type to use for Many to Many field?

When defining a database access object for use in cl-postmodern, what should the :col-type be for a Many to Many field?

like image 618
Mitch Avatar asked Sep 17 '09 03:09

Mitch


1 Answers

The answer is that there is no :col-type for a ManyToMany field (as in Django) because a many to many relationship is implemented by creating a new table which is what must be referenced by Postmodern. This is part of the object relational magic which Postmodern doesn't supply.

like image 160
Mitch Avatar answered Nov 13 '22 12:11

Mitch