Welcome to Doctrine 2 ORM’s documentation!¶
The Doctrine documentation is comprised of tutorials, a reference section and cookbook articles that explain different parts of the Object Relational mapper.
Doctrine DBAL and Doctrine Common both have their own documentation.
Getting Help¶
If this documentation is not helping to answer questions you have about Doctrine ORM don’t panic. You can get help from different sources:
There is a FAQ with answers to frequent questions.
よくある質問への回答が記載された FAQ があります。- 教義メーリングリスト
Slack chat room #orm
Slack チャットルーム #ormReport a bug on GitHub.
GitHub でバグを報告してください。- StackOverflow について
If you need more structure over the different topics you can browse the table of contents.
Getting Started¶
Tutorial: Getting Started with Doctrine
チュートリアル:Doctrine を始めるSetup: Installation & Configuration
セットアップ:インストールと構成
Mapping Objects onto a Database¶
Mapping: Objects | Associations | Inheritance
マッピング:オブジェクト |関連付け |継承Drivers: Docblock Annotations | Attributes | XML | YAML | PHP
ドライバー:Docblock アノテーション |属性 |XML |YAML |PHP
Working with Objects¶
Basic Reference: Entities | Associations | Events
基本リファレンス:エンティティ |関連付け |イベントQuery Reference: DQL | QueryBuilder | Native SQL
クエリ リファレンス:DQL |QueryBuilder |ネイティブ SQLInternals: Internals explained | Associations
内部: 内部の説明 | 関連付け
Advanced Topics¶
- 建築
- 詳細設定
- 制限事項と既知の問題
- コマンドライン ツール
- トランザクションと同時実行
- フィルター
- ネーミング戦略
- TypedFieldMapper
- パフォーマンスの向上
- キャッシング
- 部分オブジェクト
- 追跡ポリシーの変更
- ベストプラクティス
- メタデータ ドライバー
- バッチ処理
- 二次キャッシュ
Tutorials¶
- 索引付けされた関連付け
- エクストラ レイジー アソシエーション
- 複合主キー
- 順序付けられた関連付け
- ページネーション
Override Field/Association Mappings In Subclasses
サブクラスでのフィールド/関連付けマッピングのオーバーライド- 埋め込み可能
Changelogs¶
- アップグレード
Cookbook¶
Patterns: Aggregate Fields | Decorator Pattern | Strategy Pattern
パターン:集計フィールド |Decorator パターン |戦略パターンDQL Extension Points: DQL Custom Walkers | DQL User-Defined-Functions
DQL 拡張ポイント:DQL カスタム ウォーカー |DQL ユーザー定義関数Implementation: Array Access | Notify ChangeTracking Example | Working with DateTime | Validation | Entities in the Session | Keeping your Modules independent
実装:配列アクセス |Notify ChangeTracking の例 |DateTime の操作 |検証 |セッション内のエンティティ |モジュールの独立性を維持するHidden Gems Prefixing Table Name
Hidden GemsPrefixing テーブル名Custom Datatypes MySQL Enums Advanced Field Value Conversion
カスタムデータ型MySQL Enums高度なフィールド値の変換
Welcome to Doctrine 2 ORM’s documentation!¶
Tutorials¶
- Getting Started with DoctrineDoctrine を始める
- Getting Started: Database Firstはじめに: データベース ファースト
- Getting Started: Model Firstはじめに: モデルファースト
- Working with Indexed Associations索引付けされた関連付けの操作
- Extra Lazy Associationsエクストラ レイジー アソシエーション
- Composite and Foreign Keys as Primary Key主キーとしての複合キーと外部キー
- Ordering To-Many Associations対多アソシエーションの順序付け
- Override Field Association Mappings In Subclassesサブクラスでのフィールド関連付けマッピングのオーバーライド
- 30. Pagination30. ページネーション
- Separating Concerns using EmbeddablesEmbeddables を使用して懸念事項を分離する
Reference Guide¶
- 1. Architecture1. 建築
- 2. Installation and Configuration2. インストールと設定
- 3. Frequently Asked Questions3. よくある質問
- 4. Basic Mapping4. 基本的なマッピング
- 5. Association Mapping5. アソシエーション マッピング
- 6. Inheritance Mapping6. 継承マッピング
- 7. Working with Objects7. オブジェクトの操作
- 8. Working with Associations8. 関連付けの操作
- 9. Events9. イベント
- 10. Doctrine Internals explained10. Doctrine Internals の説明
- 11. Association Updates: Owning Side and Inverse Side11. 関連付けの更新: 所有側と逆側
- 12. Transactions and Concurrency12. トランザクションと並行性
- 13. Batch Processing13. バッチ処理
- 14. Doctrine Query Language14. Doctrine クエリ言語
- 15. The QueryBuilder15. QueryBuilder
- 16. Native SQL16. ネイティブ SQL
- 17. Change Tracking Policies17. 変更追跡ポリシー
- 18. Partial Objects18. 部分オブジェクト
- 19. Annotations Reference19. 注釈リファレンス
- 20. Attributes Reference20. 属性リファレンス
- 21. XML Mapping21. XML マッピング
- 22. YAML Mapping22. YAML マッピング
- 23. PHP Mapping23. PHP マッピング
- 24. Caching24. キャッシング
- 25. Improving Performance25. パフォーマンスの向上
- 26. Tools26. ツール
- 27. Metadata Drivers27. メタデータドライバー
- 28. Best Practices28. ベストプラクティス
- 29. Limitations and Known Issues29. 制限事項と既知の問題
- 30. Pagination30. ページネーション
- 31. Filters31. フィルター
- 32. Implementing a NamingStrategy32. NamingStrategy の実装
- 33. Advanced Configuration33.高度な設定
- 34. The Second Level Cache34. セカンドレベルキャッシュ
- 35. Security35. セキュリティ
Cookbook¶
- Aggregate Fields集計フィールド
- Custom Mapping Typesカスタム マッピング タイプ
- Persisting the Decorator Patternデコレータ パターンの永続化
- Extending DQL in Doctrine ORM: Custom AST WalkersDoctrine ORM での DQL の拡張: カスタム AST ウォーカー
- DQL User Defined FunctionsDQL ユーザー定義関数
- Implementing ArrayAccess for Domain Objectsドメイン オブジェクトの ArrayAccess の実装
- Implementing the Notify ChangeTracking PolicyNotify ChangeTracking ポリシーの実装
- Keeping your Modules independentモジュールの独立性を保つ
- SQL-Table PrefixesSQL テーブルのプレフィックス
- Strategy-Pattern戦略パターン
- Validation of Entitiesエンティティの検証
- Working with DateTime InstancesDateTime インスタンスの操作
- Mysql EnumsMysql 列挙型
- Advanced field value conversion using custom mapping typesカスタム マッピング タイプを使用した高度なフィールド値の変換
- Entities in the Sessionセッション内のエンティティ