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

UpdateAbstract   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 2
dl 0
loc 20
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A sql() 0 3 1
A table() 0 3 1
A set() 0 3 1
A where() 0 3 1
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