@@ -69,6 +69,9 @@ discard block |
||
| 69 | 69 | return $this->conn->getEscaper(); |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param string $select |
|
| 74 | + */ |
|
| 72 | 75 | public function select($select = null) |
| 73 | 76 | { |
| 74 | 77 | $this->type = self::TYPE_SELECT; |
@@ -100,6 +103,9 @@ discard block |
||
| 100 | 103 | return $this->add('from', array('table' => $index)); |
| 101 | 104 | } |
| 102 | 105 | |
| 106 | + /** |
|
| 107 | + * @param string $index |
|
| 108 | + */ |
|
| 103 | 109 | public function replace($index) |
| 104 | 110 | { |
| 105 | 111 | $this->type = self::TYPE_REPLACE; |
@@ -107,6 +113,9 @@ discard block |
||
| 107 | 113 | return $this->add('from', array('table' => $index)); |
| 108 | 114 | } |
| 109 | 115 | |
| 116 | + /** |
|
| 117 | + * @param string $index |
|
| 118 | + */ |
|
| 110 | 119 | public function delete($index) |
| 111 | 120 | { |
| 112 | 121 | $this->type = self::TYPE_DELETE; |
@@ -129,6 +138,9 @@ discard block |
||
| 129 | 138 | return $this->add('values', $values, true); |
| 130 | 139 | } |
| 131 | 140 | |
| 141 | + /** |
|
| 142 | + * @param string $index |
|
| 143 | + */ |
|
| 132 | 144 | public function from($index) |
| 133 | 145 | { |
| 134 | 146 | return $this->add('from', array('table' => $index)); |
@@ -139,6 +151,9 @@ discard block |
||
| 139 | 151 | return $this->add('from', array('table' => $index), true); |
| 140 | 152 | } |
| 141 | 153 | |
| 154 | + /** |
|
| 155 | + * @param string $where |
|
| 156 | + */ |
|
| 142 | 157 | public function where($where) |
| 143 | 158 | { |
| 144 | 159 | return $this->add('where', $where); |