Permalink
Browse files

Implement getDateAddMonthExpression function.

  • Loading branch information...
1 parent 4f25bd2 commit b2141df50f83ac3bd82e4f9820c9c21eaec3e78c @posulliv committed Aug 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Doctrine/DBAL/Platforms/AkibanServerPlatform.php
@@ -81,7 +81,7 @@ public function getDateSubDaysExpression($date, $days)
public function getDateAddMonthExpression($date, $months)
{
- // TODO
+ return 'DATE_ADD(' . $date . ', INTERVAL ' . $months . ' MONTH)';
}
public function getDateSubMonthExpression($date, $months)

0 comments on commit b2141df

Please sign in to comment.