Add addBottom function
Signed-off-by: David Arendsen <darendsen@gamepoint.com>
This commit is contained in:
parent
483e67a2e8
commit
9e2bde4217
5 changed files with 91 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ namespace Arendsen\FluxQueryBuilder\Builder;
|
|||
|
||||
use Arendsen\FluxQueryBuilder\Builder\QueryBuilderInterface;
|
||||
use Arendsen\FluxQueryBuilder\Functions\AggregateWindow;
|
||||
use Arendsen\FluxQueryBuilder\Functions\Bottom;
|
||||
use Arendsen\FluxQueryBuilder\Functions\Count;
|
||||
use Arendsen\FluxQueryBuilder\Functions\Duplicate;
|
||||
use Arendsen\FluxQueryBuilder\Functions\First;
|
||||
|
|
@ -30,6 +31,12 @@ trait Universe
|
|||
return $this;
|
||||
}
|
||||
|
||||
public function addBottom(int $n, array $columns = []): QueryBuilderInterface
|
||||
{
|
||||
$this->addToQuery(new Bottom($n, $columns));
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function addCount(?string $column = null): QueryBuilderInterface
|
||||
{
|
||||
$this->addToQuery(
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue