views:

227

answers:

1

I have the following relationship

CType has many Field Field has many Ctype

and of course the tables used are fields, ctypes, and ctypes_fields. Normally, the ctypes_fields table should contain only ids referencing the other two tables. However, i'd like to put there a "options" field that will contain some content for the concrete instance only. I walked through all DataMapper tuts but I could'n find relevant info on how I could extract these specific values (the ones in the relation table)

Should I create a separate model for this relation table or there is a clever way to do this ?

A: 

Datamapper OverZealous Edition (DMZ) allows you to do this. It should be compatible with your existing Datamapper application. http://codeigniter.com/forums/viewthread/149388/

Henry Merriam