You are browsing a version that has not yet been released. |
Tutorials
- Getting Started with Doctrine
- Guide Assumptions
- What is Doctrine?
- An Example Model: Bug Tracker
- Project Setup
- Obtaining the EntityManager
- Generating the Database Schema
- Starting with the Product Entity
- Adding Bug and User Entities
- Implementing more Requirements
- Queries for Application Use-Cases
- Dashboard of the User
- Number of Bugs
- Updating Entities
- Entity Repositories
- Conclusion
- 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
- Pagination
- Separating Concerns using Embeddables
Reference
- Architecture
- Installation and Configuration
- Frequently Asked Questions
- Database Schema
- Entity Classes
- Mapping
- Associations
- What is wrong when I get an InvalidArgumentException "A new entity was found through the relationship.."?
- How can I filter an association?
- I call clear() on a One-To-Many collection but the entities are not deleted
- How can I add columns to a many-to-many table?
- How can i paginate fetch-joined collections?
- Why does pagination not work correctly with fetch joins?
- Inheritance
- EntityGenerator
- Performance
- Doctrine Query Language
- A Query fails, how can I debug it?
- Basic Mapping
- Association Mapping
- Many-To-One, Unidirectional
- One-To-One, Unidirectional
- One-To-One, Bidirectional
- One-To-One, Self-referencing
- One-To-Many, Bidirectional
- One-To-Many, Unidirectional with Join Table
- One-To-Many, Self-referencing
- Many-To-Many, Unidirectional
- Many-To-Many, Bidirectional
- Many-To-Many, Self-referencing
- Mapping Defaults
- Collections
- Initializing Collections
- Inheritance Mapping
- Working with Objects
- Working with Associations
- Events
- Doctrine Internals explained
- Association Updates: Owning Side and Inverse Side
- Transactions and Concurrency
- Batch Processing
- Doctrine Query Language
- Types of DQL queries
- SELECT queries
- UPDATE queries
- DELETE queries
- Comments in queries
- Functions, Operators, Aggregates
- Querying Inherited Classes
- The Query class
- EBNF
- Document syntax:
- Terminals
- Query Language
- Statements
- Identifiers
- Path Expressions
- Clauses
- Items
- From, Join and Index by
- Select Expressions
- Conditional Expressions
- Collection Expressions
- Literal Values
- Input Parameter
- Arithmetic Expressions
- Scalar and Type Expressions
- Aggregate Expressions
- Case Expressions
- Other Expressions
- Functions
- The QueryBuilder
- Native SQL
- Change Tracking Policies
- Partial Objects
- Attributes Reference
- Index
- Reference
- #[AssociationOverride]
- #[AttributeOverride]
- #[Column]
- #[Cache]
- #[ChangeTrackingPolicy]
- #[CustomIdGenerator]
- #[DiscriminatorColumn]
- #[DiscriminatorMap]
- #[Embeddable]
- #[Embedded]
- #[Entity]
- #[GeneratedValue]
- #[HasLifecycleCallbacks]
- #[Index]
- #[Id]
- #[InheritanceType]
- #[JoinColumn], #[InverseJoinColumn]
- #[JoinTable]
- #[ManyToOne]
- #[ManyToMany]
- #[MappedSuperclass]
- #[OneToOne]
- #[OneToMany]
- #[OrderBy]
- #[PostLoad]
- #[PostPersist]
- #[PostRemove]
- #[PostUpdate]
- #[PrePersist]
- #[PreRemove]
- #[PreUpdate]
- #[SequenceGenerator]
- #[Table]
- #[UniqueConstraint]
- #[Version]
- XML Mapping
- Simplified XML Driver
- Defining an Entity
- Defining Fields
- Defining Identity and Generator Strategies
- Defining a Mapped Superclass
- Defining Inheritance Mappings
- Defining Lifecycle Callbacks
- Defining One-To-One Relations
- Defining Many-To-One Associations
- Defining One-To-Many Associations
- Defining Many-To-Many Associations
- Cascade Element
- Join Column Element
- Defining Order of To-Many Associations
- Defining Indexes or Unique Constraints
- Derived Entities ID syntax
- PHP Mapping
- Caching
- Improving Performance
- Tools
- Metadata Drivers
- Best Practices
- Limitations and Known Issues
- Pagination
- Filters
- Implementing a NamingStrategy
- Advanced Configuration
- The Second Level Cache
- Security
Cookbook
- Aggregate Fields
- Custom Mapping Types
- Persisting the Decorator Pattern
- Extending DQL in Doctrine ORM: Custom AST Walkers
- DQL User Defined Functions
- Implementing ArrayAccess for Domain Objects
- Keeping your Modules independent
- SQL-Table Prefixes
- Strategy-Pattern
- Validation of Entities
- Working with DateTime Instances
- Mysql Enums
- Advanced field value conversion using custom mapping types
- Entities in the Session