On Mon, Jun 8, 2009 at 10:03 AM, Céryl<[email protected]> wrote:
>
> A table that holds user_id in one column, and product_id in the other,
> maybe? But that would grow to a very large redundant table like this:
> user product
> 1         3
> 1         6
> 2         3
> 2         4
> 2         5
> Etc.
>

That's not redundant. The purpose of a join table is to associate 2
(or more) other tables. While some fields may contain the same values,
each row, as a whole, should be unique.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to