Hello Diem Member
i am new in Symfony. plz follow this Schema ,here many to many
relations exist between User and Permission and refclass name
UserPermission . Now i am try create query between User and
UserPermission . how is possible ?


User:
  columns:
    username: string(255)
    password: string(255)
  relations:
     Permissions:
      class: Permission
      refClass: UserPermission
      foreignAlias: Users


Permission:
  columns:
    name: string(255)



UserPermission:
  columns:
    user_id:
      type: integer
      primary: true
    permission_id:
      type: integer
      primary: true
  relations:
    User:
    Permission:

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" 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/symfony-users?hl=en

Reply via email to