|
@@ 462-464 (lines=3) @@
|
| 459 |
|
$this->sql .= " " . implode(" ", $flags['joins']); |
| 460 |
|
} |
| 461 |
|
|
| 462 |
|
if (! is_null($where) && is_array($where) && count($where)) { |
| 463 |
|
$this->sql .= $this->where($where); |
| 464 |
|
} |
| 465 |
|
|
| 466 |
|
if (count($flags)) { |
| 467 |
|
$this->sql .= $this->flags($flags); |
|
@@ 509-511 (lines=3) @@
|
| 506 |
|
$this->sql .= " " . implode(" ", $flags['joins']); |
| 507 |
|
} |
| 508 |
|
|
| 509 |
|
if (! is_null($where) && is_array($where) && count($where)) { |
| 510 |
|
$this->sql .= $this->where($where); |
| 511 |
|
} |
| 512 |
|
|
| 513 |
|
if (count($flags)) { |
| 514 |
|
$this->sql .= $this->flags($flags); |
|
@@ 665-667 (lines=3) @@
|
| 662 |
|
|
| 663 |
|
$this->sql = substr($this->sql, 0, - 1); |
| 664 |
|
|
| 665 |
|
if (! is_null($where) && is_array($where) && count($where)) { |
| 666 |
|
$this->sql .= $this->where($where); |
| 667 |
|
} |
| 668 |
|
|
| 669 |
|
if (! is_null($flags) && is_array($flags) && count($flags)) { |
| 670 |
|
$this->sql .= $this->flags($flags); |
|
@@ 669-671 (lines=3) @@
|
| 666 |
|
$this->sql .= $this->where($where); |
| 667 |
|
} |
| 668 |
|
|
| 669 |
|
if (! is_null($flags) && is_array($flags) && count($flags)) { |
| 670 |
|
$this->sql .= $this->flags($flags); |
| 671 |
|
} |
| 672 |
|
|
| 673 |
|
if (self::$autorun) { |
| 674 |
|
return $this->execute(MYSQLI_BOTH); |
|
@@ 840-842 (lines=3) @@
|
| 837 |
|
$this->sql .= " " . implode(" ", $joins); |
| 838 |
|
} |
| 839 |
|
|
| 840 |
|
if (! is_null($where) && is_array($where) && count($where)) { |
| 841 |
|
$this->sql .= $this->where($where); |
| 842 |
|
} |
| 843 |
|
|
| 844 |
|
if (self::$autorun) { |
| 845 |
|
return $this->execute(MYSQLI_BOTH); |