Permalink
Browse files

Implement getDateAddDaysExpression function.

  • Loading branch information...
1 parent 9e5af6b commit 227f159f8e6ca6454cc71efc909d183de2bfd314 @posulliv committed Aug 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Doctrine/DBAL/Platforms/AkibanServerPlatform.php
@@ -71,7 +71,7 @@ public function getDateDiffExpression($date1, $date2)
public function getDateAddDaysExpression($date, $days)
{
- // TODO
+ return 'DATE_ADD(' . $date . ', INTERVAL ' . $days . ' DAY)';
}
public function getDateSubDaysExpression($date, $days)

0 comments on commit 227f159

Please sign in to comment.