Go Pro with Doctrine Queries
Learn how to do complex queries with Doctrine using DQL and QueryBuilder. Reduce queries with JOINs, select specific fields, and run raw SQL queries if needed. Efficiently filter relation collections with Criteria. Discover the possibilities of creating crazy queries!
What you’ll be learning
You already know how to query with SQL, so learning how to do complex queries with Doctrine should not be a pain! In this tutorial, we’ll learn about:
the language Doctrine speaks (DQL)
the QueryBuilder object
JOINs! And using them to reduce queries
SELECTing specific fields instead of entire objects
If all else fails, run raw SQL queries!
Using Criteria to efficiently filter relation collections
And more! Let’s see what kind of crazy queries we can create!
User Reviews
Be the first to review “Go Pro with Doctrine Queries”
You must be logged in to post a review.
There are no reviews yet.