18 lines
358 B
PHP
18 lines
358 B
PHP
<?php
|
|
|
|
namespace Driver\SQL\Expression;
|
|
|
|
class JsonArrayAgg extends Expression {
|
|
|
|
private $value;
|
|
private string $alias;
|
|
|
|
public function __construct($value, string $alias) {
|
|
$this->value = $value;
|
|
$this->alias = $alias;
|
|
}
|
|
|
|
public function getValue() { return $this->value; }
|
|
public function getAlias(): string { return $this->alias; }
|
|
|
|
} |