Featured Post

Browse Internet with pleasure

We live in freedom time. Most people spend their lives in free coutries, they can make free choices, do just what they want. The same should be with Internet browsing. We can choose our favourite browser and view webpages we like. The problem is that me and probably most of you had some bad experiences...

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…