@@ 1315-1321 (lines=7) @@ | ||
1312 | * @param string $table The table name to insert into. |
|
1313 | * @return $this |
|
1314 | */ |
|
1315 | public function into($table) |
|
1316 | { |
|
1317 | $this->_dirty(); |
|
1318 | $this->_type = 'insert'; |
|
1319 | $this->_parts['insert'][0] = $table; |
|
1320 | return $this; |
|
1321 | } |
|
1322 | ||
1323 | /** |
|
1324 | * Set the values for an insert query. |
|
@@ 1366-1372 (lines=7) @@ | ||
1363 | * @param string $table The table you want to update. |
|
1364 | * @return $this |
|
1365 | */ |
|
1366 | public function update($table) |
|
1367 | { |
|
1368 | $this->_dirty(); |
|
1369 | $this->_type = 'update'; |
|
1370 | $this->_parts['update'][0] = $table; |
|
1371 | return $this; |
|
1372 | } |
|
1373 | ||
1374 | /** |
|
1375 | * Set one or many fields to update. |