Welcome Guest, Not a member yet? Register   Sign In
DMZ 1.7.1 (DataMapper OverZealous Edition) - One to Many Relationship
#1

[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.




Theme © iAndrew 2016 - Forum software by © MyBB