We\'re usi开发者_JS百科ng Doctrine, a PHP ORM. I am creating a query like this: $q = Doctrine_Query::create()->select(\'id\')->from(\'MyTable\');