diff --git a/src/Trend.php b/src/Trend.php index af53ce3..c64469a 100755 --- a/src/Trend.php +++ b/src/Trend.php @@ -84,6 +84,13 @@ public function dateColumn(string $column): self return $this; } + public function dateAlias(string $alias): self + { + $this->dateAlias = $alias; + + return $this; + } + public function aggregate(string $column, string $aggregate): Collection { $values = $this->builder