Featured Post

[EN] International Workers’ Day in Poland, Europe

Today we are celebrating International Workers’ Day. In Poland we are celebrating also 10th anniversary of the joining Poland into the European Union in 2004. Polish presence in the European Union There are many concerts related to our presence in the EU, paid – of course from the money Poland...

Read More

Writing DQL statements

Posted by Tomasz Kuter | Posted in Programming, Web development | Posted on 21-03-2013

Tags: , , , , , , , , , ,

0

Today I would like to focus on something, what Doctrine 1.x users know, but it looks a little bit different – Doctrine Query Language (DQL) statements.

In the last tutorial we had had working Album Controller, which was using Doctrine Entity Manager, to get the Album data. Now we will focus on something more advanced – writing SQL alike statements to get some data from the album’s table.

So lets begin…