.. toc::

   .. tocheader:: Tutorials

   .. toctree::
      :depth: 3

      tutorials/getting-started
      tutorials/getting-started-database
      tutorials/getting-started-models
      tutorials/working-with-indexed-associations
      tutorials/extra-lazy-associations
      tutorials/composite-primary-keys
      tutorials/ordered-associations
      tutorials/override-field-association-mappings-in-subclasses
      tutorials/pagination
      tutorials/embeddables

.. toc::

   .. tocheader:: Reference

   .. toctree::
      :depth: 3

      reference/architecture
      reference/configuration
      reference/faq
      reference/basic-mapping
      reference/association-mapping
      reference/inheritance-mapping
      reference/working-with-objects
      reference/working-with-associations
      reference/events
      reference/unitofwork
      reference/unitofwork-associations
      reference/transactions-and-concurrency
      reference/batch-processing
      reference/dql-doctrine-query-language
      reference/query-builder
      reference/native-sql
      reference/change-tracking-policies
      reference/partial-objects
      reference/xml-mapping
      reference/yaml-mapping
      reference/annotations-reference
      reference/php-mapping
      reference/caching
      reference/improving-performance
      reference/tools
      reference/metadata-drivers
      reference/best-practices
      reference/limitations-and-known-issues
      tutorials/pagination
      reference/filters
      reference/namingstrategy
      reference/advanced-configuration
      reference/second-level-cache
      reference/security

.. toc::

   .. tocheader:: Cookbook

   .. toctree::
      :depth: 3

      cookbook/aggregate-fields
      cookbook/custom-mapping-types
      cookbook/decorator-pattern
      cookbook/dql-custom-walkers
      cookbook/dql-user-defined-functions
      cookbook/implementing-arrayaccess-for-domain-objects
      cookbook/implementing-the-notify-changetracking-policy
      cookbook/implementing-wakeup-or-clone
      cookbook/resolve-target-entity-listener
      cookbook/sql-table-prefixes
      cookbook/strategy-cookbook-introduction
      cookbook/validation-of-entities
      cookbook/working-with-datetime
      cookbook/mysql-enums
      cookbook/advanced-field-value-conversion-using-custom-mapping-types
      cookbook/entities-in-session
