doctrine2 - Doctrine update query with LIMIT -
doctrine2 - Doctrine update query with LIMIT -
i update-query limit that:
update anytable set anycolumn = 'anyvalue' anothercolumn='anothervalue' limit 20
how possible doctrine 2.1 ?
not doctrine specific, maybe possible subquery ?
class="lang-sql prettyprint-override">update messages set test_read=1 id in ( select id ( select id messages order date_added desc limit 5, 5 ) tmp );
doctrine doctrine2 doctrine-query
Comments
Post a Comment