Skip to content
Browse files

correct sql expression

  • Loading branch information...
1 parent a645502 commit f31dea55d3f5113ab5a04e4a1015bfdd89b90555 @julienfastre julienfastre committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 en/reference/types.rst
View
2 en/reference/types.rst
@@ -149,7 +149,7 @@ Then you can override the methods convertToPhpValueSQL and convertToDatabaseValu
<?php
public function convertToPHPValueSQL($sqlExpr, $platform)
{
- return 'MyMoneyFunction(\''.$sqlExpr.') ';
+ return 'MyMoneyFunction(\''.$sqlExpr.'\') ';
}
public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform)

0 comments on commit f31dea5

Please sign in to comment.
Something went wrong with that request. Please try again.