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\Operation;
use TBolier\RethinkQL\Query\Aggregation\AbstractAggregation;
use TBolier\RethinkQL\Query\QueryInterface;
abstract class AbstractOperation extends AbstractAggregation implements OperationInterface
{
/**
* @inheritdoc
*/
public function count(): QueryInterface
return new Count($this->rethink, $this->message, $this);
}
public function delete(): QueryInterface
return new Delete($this->rethink, $this->message, $this);
public function filter(array $predicate): OperationInterface
return new Filter($this->rethink, $this->message, $this, $predicate);
public function getAll(...$keys): OperationInterface
return new GetAll($this->rethink, $this->message, $this, $keys);
public function update(array $elements): QueryInterface
return new Update($this->rethink, $this->message, $this, $elements);
public function insert(array $document): QueryInterface
return new Insert($this->rethink, $this->message, $this, $document);