国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

symfony - Is there any more detailed documentation on doctrine yaml defining database schema?
伊謝爾倫
伊謝爾倫 2017-05-16 16:45:27
0
1
646

For example, the example in symfony2:

Ens\JobeetBundle\Entity\CategoryAffiliate:
  type: entity
  table: category_affiliate
  id:
    id:
      type: integer
      generator: { strategy: AUTO }
  manyToOne:
    category:
      targetEntity: Category
      inversedBy: category_affiliates
      joinColumn:
        name: category_id
        referencedColumnName: id
    affiliate:
      targetEntity: Affiliate
      inversedBy: category_affiliates
      joinColumn:
        name: affiliate_id
        referencedColumnName: id

A more detailed explanation such as the generator option, and the documentation for manyToOne and OneToMany options
I am not very clear about the doctrine official website

伊謝爾倫
伊謝爾倫

小伙看你根骨奇佳,潛力無限,來學(xué)PHP伐。

reply all(1)
給我你的懷抱

http://docs.doctrine-project.org/en/l...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template