소스 검색

Merge pull request #286 from calumbrodie/patch-1

Added orderBy to child mapping in .yml entity mapping example.
Gediminas Morkevicius 13 년 전
부모
커밋
17e7c9f75f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      doc/tree.md

+ 2 - 0
doc/tree.md

@@ -263,6 +263,8 @@ Entity\Category:
     children:
       targetEntity: Entity\Category
       mappedBy: parent
+      orderBy:
+        lft: ASC
 ```
 
 <a name="xml-mapping"></a>