I'm just getting started with CakePHP and would like to know if it can handle compound keys in a database. For example, if you were to add tags to a blog, the schema would roughly be table: article(article_id, article_text, PRIMARY_KEY(article_id)); table: tag (tag_id, tag_word, PRIMARY_KEY(tag_id));
Now if you want to associate tags with an article, there would be another table: article_tag(article_id, tag_id, PRIMARY_KEY(article_id, tag_id)); This seems like valid database design to me (feel free to argue or present an alternative). Since I haven't worked with CakePHP yet, I'll ask: "Would CakePHP be able to work with this type of schema?" And is it pretty straight forward? - John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---