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 REGEXP_LIKE().
*
* @see https://www.postgresql.org/docs/15/functions-matching.html#FUNCTIONS-POSIX-REGEXP
* @since 2.0
* @author Martin Georgiev <[email protected]>
*/
class RegexpLike extends BaseFunction
{
protected function customiseFunction(): void
$this->setFunctionPrototype('regexp_like(%s, %s)');
$this->addNodeMapping('StringPrimary');
}