for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace ClickHouseDB\Query\Expression;
/**
* Pass expression "as is" to be sent and executed at server.
* P.ex.: `new Expression\Raw("UUIDStringToNum('0f372656-6a5b-4727-a4c4-f6357775d926')");`
*/
class Raw implements Expression
{
/** @var string */
private $expression;
public function __construct(string $expression)
$this->expression = $expression;
}
public function needsEncoding() : bool
return false;
public function getValue() : string
return $this->expression;