Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function update( |
||
26 | $expression, |
||
27 | $data, |
||
28 | $multiple = false, |
||
29 | $upsert = false |
||
30 | ) { |
||
31 | $this->add(array( |
||
32 | 'q' => Expression::convertToArray($expression), |
||
33 | 'u' => Operator::convertToArray($data), |
||
34 | 'multiple' => $multiple, |
||
35 | 'upsert' => $upsert, |
||
36 | )); |
||
37 | |||
38 | return $this; |
||
39 | } |
||
40 | } |
||
41 |