Question

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

Was it helpful?

Solution

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.

OTHER TIPS

Without looking at the code, how about an integer?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top