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\AbstractQuery;
use TBolier\RethinkQL\Query\QueryInterface;
abstract class AbstractOperation extends AbstractQuery 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 $documents): OperationInterface
return new Filter($this->rethink, $this->message, $this, $documents);
public function update(array $document): QueryInterface
return new Update($this->rethink, $this->message, $this, $document);
public function insert(array $document): QueryInterface
return new Insert($this->rethink, $this->message, $this, $document);