for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace MartinGeorgiev\Doctrine\ORM\Query\AST\Functions;
/**
* Implementation of PostgreSQL's string concatenation operator (using `||`).
*
* @see https://www.postgresql.org/docs/15/functions-string.html
* @since 2.6.0
* @author Alexander Makarov <[email protected]>
*/
class StrConcat extends BaseFunction
{
protected function customiseFunction(): void
$this->setFunctionPrototype('(%s || %s)');
$this->addNodeMapping('StringPrimary');
}