|
@@ 116-122 (lines=7) @@
|
| 113 |
|
} |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
public function where($where = '', $value = '', $operation = false, $concatenation = 'AND') { |
| 117 |
|
if (!is_array($where)) { |
| 118 |
|
$this->where[] = [$where, $value, $operation, $concatenation]; |
| 119 |
|
} else { |
| 120 |
|
$this->where[] = $where; |
| 121 |
|
} |
| 122 |
|
} |
| 123 |
|
|
| 124 |
|
public function having($where = '', $value = '', $operation = false, $concatenation = 'AND') { |
| 125 |
|
if (!is_array($where)) { |
|
@@ 124-130 (lines=7) @@
|
| 121 |
|
} |
| 122 |
|
} |
| 123 |
|
|
| 124 |
|
public function having($where = '', $value = '', $operation = false, $concatenation = 'AND') { |
| 125 |
|
if (!is_array($where)) { |
| 126 |
|
$this->having[] = [$where, $value, $operation, $concatenation]; |
| 127 |
|
} else { |
| 128 |
|
$this->having[] = $where; |
| 129 |
|
} |
| 130 |
|
} |
| 131 |
|
|
| 132 |
|
public function group($colname) { |
| 133 |
|
$this->group[] = $colname; |