Skip to content

Commit

Permalink
fix: setter for alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Larsklopstra authored Mar 8, 2023
1 parent 70d8a4e commit 49924e0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Trend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 49924e0

Please sign in to comment.