public function convertToPHPValueSQL($sqlExpr, $platform) { return sprintf('AsText(%s)', $sqlExpr); }