You already know how to query with SQL, so learning how to do complex queries with Doctrine should not give you a headache. In this series, we'll learn the language Doctrine speaks (DQL), as well as the query builder object, how to use complex query features and even how to run good ol' fashioned raw SQL queries with Doctrine. Because hey, sometimes simplicity rules :).
Overview
Syllabus
- Doctrine DQL
- The QueryBuilder
- And WHERE Or WHERE
- JOINs!
- Joins and addSelect Reduce Queries
- SELECT the SUM (or COUNT)
- Selecting Specific Fields
- Raw SQL Queries
- Reusing Queries with the Query Builder
- Filters
Taught by
Ryan Weaver and Leanna Pelham