Hello guys, given that:

profile <--- defined in schema (ofc used by symfony)
id
user_id
field1
field2

user <--- not in schema, because this is a table used by another script (a forum script for example)
id
field1
field2

I would like to get all profiles and their corresponding users.
I don't need the retrieved data from the user table to be an object and I think that's also not possible since it's not defined in the schema. so a flat array would be okay.

Something like $profile->user['id] I think would happen instead of the regular $profile->getUser()->getId() on related tables because they are unrelated?

In any case, how I do this in Doctrine? Thanks : )

--
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