Completed
Push — master ( f08c1d...ffbb02 )
by smiley
02:22
created

UpdateAbstract::orWhere()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
/**
3
 *
4
 * @filesource   UpdateAbstract.php
5
 * @created      03.06.2017
6
 * @package      chillerlan\Database\Query\Dialects
7
 * @author       Smiley <[email protected]>
8
 * @copyright    2017 Smiley
9
 * @license      MIT
10
 */
11
12
namespace chillerlan\Database\Query;
13
14
use chillerlan\Database\Query\Traits\WhereTrait;
15
16
/**
17
 * Class UpdateAbstract
18
 */
19
abstract class UpdateAbstract extends StatementAbstract implements UpdateInterface{
20
	use WhereTrait;
21
22
	public function sql():string{
23
		// TODO: Implement sql() method.
24
	}
25
26
	public function table(){
27
		// TODO: Implement table() method.
28
	}
29
30
	public function set(){
31
		// TODO: Implement set() method.
32
	}
33
34
	public function where($val1, $val2, $operator = '=', $bind = true, $join = 'AND'):UpdateInterface{
35
		return $this->_addWhere($val1, $val2, $operator, $bind, $join);
36
	}
37
38
}
39