Kohana 3 ORM limitations

Posted by yoda on Stack Overflow See other posts from Stack Overflow or by yoda
Published on 2010-05-08T09:06:28Z Indexed on 2010/05/08 9:28 UTC
Read the original article Hit count: 293

Filed under:
|
|
|

Hi,

What are the limitations of Kohana 3 ORM regarding table relationships?

I'm trying to modify the build-in Auth module in order to accept groups of users in adition, having now the following tables :

  • groups
  • groups_users
  • roles
  • roles_groups
  • users
  • user_tokens

By default, this module is set to work without groups, and linking the users and roles using a third table named roles_users, but I need to add groups to it. I'm linking, as you can see by the names, the groups to users and the roles to groups, but I'm failing building the ORM code for it, so that's pretty much the question here, if ORM is limited to 2 relationships or if it can handle 3 in this case.

Cheers!

© Stack Overflow or respective owner

Related posts about php

Related posts about kohana-3