1 | <?php |
||
6 | class Insert extends Query |
||
7 | { |
||
8 | use Clause\InsertColumns; |
||
9 | use Clause\Returning; |
||
10 | |||
11 | protected $table = ''; |
||
12 | |||
13 | /** |
||
14 | * @param string $table |
||
15 | * |
||
16 | * @return $this |
||
17 | */ |
||
18 | 1 | public function into(string $table) |
|
24 | |||
25 | 1 | public function ignore(bool $enable = true) |
|
31 | |||
32 | |||
33 | 1 | public function getStatement(): string |
|
41 | |||
42 | /** |
||
43 | * @param string|null $name |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | 1 | public function getLastInsertId(string $name = null) |
|
51 | } |
||
52 |