@@ 549-553 (lines=5) @@ | ||
546 | if ($this->type == 'select') { |
|
547 | $query .= 'SELECT '; |
|
548 | ||
549 | if (!empty($this->select)) { |
|
550 | $query .= implode(', ', $this->select).' '; |
|
551 | } else { |
|
552 | $query .= '* '; |
|
553 | } |
|
554 | } |
|
555 | ||
556 | if (!empty($this->from)) { |
|
@@ 695-697 (lines=3) @@ | ||
692 | $query .= 'INTO '.$this->into.' '; |
|
693 | } |
|
694 | ||
695 | if (!empty($this->columns)) { |
|
696 | $query .= '('.implode(', ', $this->columns).') '; |
|
697 | } |
|
698 | ||
699 | if (!empty($this->values)) { |
|
700 | $query .= 'VALUES '; |