Found 2 blog posts with the tag "2"

Doctrine 2 Native Queries

Tags: Doctrine, 2, Native, Query

Posted over 2 years ago by romanb

If you are familar with Doctrine_RawSql from Doctrine 1.x you probably know that it is somewhat broken by design since it requires a special syntax in the select clause that makes a lot of SQL constructs in the select clause impossible. Doctrine 2 introduces a facility called "native queries", r... [read more] [0 Comments]

Doctrine 2 Batch Processing

Tags: Doctrine, 2

Posted over 2 years ago by romanb

Disclaimer: In general, an ORM is surely not the best tool for the job for mass data movements, however, it can be a convenient alternative if the performance is sufficient. Every RDBMS has its own highly efficient commands for such operations. For maximum efficiency you should consult t... [read more] [0 Comments]