Featured Post

Polish Constitution of May 3, 1791

Today, on 3rd May 2014 we are celebrating national holiday in Poland, made in commemoration of Polish Constitution of May 3, 1791, called: Polish: Konstytucja Trzeciego Maja, Belarusian: Канстытуцыя трэцяга мая, Lithuanian: Gegužės trečiosios Konstitucija. Poland was placed...

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…