CodeIgniter Forums
DataMapper question - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: DataMapper question (/showthread.php?tid=38157)



DataMapper question - El Forum - 01-31-2011

[eluser]ricardocasares[/eluser]
Hi everyone!

I'm having some trouble defining my database table.

I have a tasks table.
Tasks are completed by users, and users may have different roles on the task.
So, tasks, roles and users table.
I have to relate a task with a user and his role on the task, how can I accomplish this with DataMapper?