Subject ORMs vs. Query Builders: Database portability
Author marius adrian popa
There has been some discussion in recent days regarding
Object-Relational Mappers (ORMs), Drupal, and why the latter doesn't
use the former. There are, actually, many reasons for that, and for
why Drupal doesn't do more with the Active Record pattern.

http://www.garfieldtech.com/blog/orm-vs-query-builders