DMZ 1.7.1 (DataMapper OverZealous Edition) - One to Many Relationship - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: DMZ 1.7.1 (DataMapper OverZealous Edition) - One to Many Relationship (/showthread.php?tid=30268) |
DMZ 1.7.1 (DataMapper OverZealous Edition) - One to Many Relationship - El Forum - 05-08-2010 [eluser]Atas[/eluser] Hello!. I want to set a One to many relationship, i have the following tables: Publication -id -name -etc Image -id -publication_id -image_src Image has many linked records from publciation table. Must i use $has_one, $has_many or what in the model class? Thank in advance [delete this post, i posted in the right place http://ellislab.com/forums/viewthread/149388/P210/ ] sorry. |