Welcome Guest, Not a member yet? Register   Sign In
Problem with associations
#3

[eluser]Carmichael[/eluser]
The sql looks like this
Code:
SELECT pm.group_id, pm.permission_id,
       p.id, p.permission, p.category,
       g.name
FROM permissions_map AS pm
INNER JOIN permissions AS p ON p.id = pm.group_id
INNER JOIN groups AS g ON g.id = pm.group_id
WHERE g.id = $groupId


Messages In This Thread
Problem with associations - by El Forum - 07-03-2012, 03:49 PM
Problem with associations - by El Forum - 07-04-2012, 07:03 AM
Problem with associations - by El Forum - 07-04-2012, 12:42 PM
Problem with associations - by El Forum - 07-04-2012, 01:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB