| Total Complexity | 7 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | trait OperationTrait |
||
| 10 | { |
||
| 11 | public function changes(array $options = null): Changes |
||
| 14 | } |
||
| 15 | |||
| 16 | public function delete(): QueryInterface |
||
| 19 | } |
||
| 20 | |||
| 21 | public function filter($value) |
||
| 22 | { |
||
| 23 | if (\is_object($value)) { |
||
| 24 | return new FilterByRow($this->rethink, /** @scrutinizer ignore-type */ $this, $value); |
||
| 25 | } |
||
| 26 | |||
| 27 | return new Filter($this->rethink, /** @scrutinizer ignore-type */ $this, $value); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function getAll(...$keys): GetAll |
||
| 31 | { |
||
| 32 | return new GetAll($this->rethink, /** @scrutinizer ignore-type */ $this, $keys); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function update(array $elements): QueryInterface |
||
| 38 | } |
||
| 39 | |||
| 40 | public function insert(array $document): QueryInterface |
||
| 45 |