I am using symfony 1.4 with Doctrine ORM. I am editing some of the actions, and I need to rewrite a Propel query into Doctrine. Here's the snippet:
$c = new Criteria();
$c->add(BlogCommentPeer::BLOG_POST_ID, $request->getParameter('id'));
$c->addAscendingOrderByColumn(BlogCommentPeer::CREATED_AT);
$this->comments = BlogCommentPeer::doSelect($c);
Can anyone help with the conversion? Thanks.