Hi Sandro,

My blog posts describe how to manage such a use-case, but uses annotations to 
keep it simple.

You can have a look at the docs [1] and yaml driver [2] to translate the 
annotations to yaml.

[1]: http://docs.doctrine-project.org/en/latest/reference/yaml-mapping.html
[2]: 
https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php

-- 
Jasper N. Brouwer
(@jaspernbrouwer)


On 6 Jan 2014, at 18:18, Sandro Cândido <[email protected]> wrote:

> would be following: table Person, Company Job table where Job have extra 
> columns not just the relationship.
> 
> Sample:
> 
> Person
>    id, name, email, name_user, password
> 
> Company
>    id, name, description
> 
> Job [ many - to many with ( Person, Company) ] - as created yaml for table
>    id, person_id, company_id, salary, date_begin_job, ..., ...
> 
> have extra columns not just the relationship. Want to know how to mount the 
> YAML which manages relationships where their extra Job table has columns 
> created when running the CLI doctrine

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to