Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Implement getDateAddDaysExpression function.

  • Loading branch information...
commit 227f159f8e6ca6454cc71efc909d183de2bfd314 1 parent 9e5af6b
Padraig O'Sullivan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Doctrine/DBAL/Platforms/AkibanServerPlatform.php
2  lib/Doctrine/DBAL/Platforms/AkibanServerPlatform.php
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.