for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace TBolier\RethinkQL\Query\Aggregation;
use TBolier\RethinkQL\Query\AbstractQuery;
abstract class AbstractAggregation extends AbstractQuery implements AggregationInterface
{
/**
* @inheritdoc
*/
public function limit($value): AggregationInterface
return new Limit($this->rethink, $this->message, $this, $value);
}
public function orderBy($key): AggregationInterface
return new OrderBy($this->rethink, $this->message, $this, $key);