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 JSONB_AGG().
*
* @see https://www.postgresql.org/docs/9.5/functions-aggregate.html
* @since 1.4
* @author Martin Georgiev <[email protected]>
*/
class JsonbAgg extends BaseFunction
{
protected function customiseFunction(): void
$this->setFunctionPrototype('jsonb_agg(%s)');
$this->addNodeMapping('StringPrimary');
}