views:

83

answers:

2

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

A: 

Without looking at the code, how about an integer?

skypher
Seems like it would be a list of integers for many to many.
Mitch
+3  A: 

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.

Mitch