1 | <?php |
||
20 | class Insert extends Common\Insert |
||
21 | { |
||
22 | /** |
||
23 | * |
||
24 | * Adds or removes OR ABORT flag. |
||
25 | * |
||
26 | * @param bool $enable Set or unset flag (default true). |
||
27 | * |
||
28 | * @return $this |
||
29 | * |
||
30 | */ |
||
31 | 1 | public function orAbort($enable = true) |
|
36 | |||
37 | /** |
||
38 | * |
||
39 | * Adds or removes OR FAIL flag. |
||
40 | * |
||
41 | * @param bool $enable Set or unset flag (default true). |
||
42 | * |
||
43 | * @return $this |
||
44 | * |
||
45 | */ |
||
46 | 1 | public function orFail($enable = true) |
|
51 | |||
52 | /** |
||
53 | * |
||
54 | * Adds or removes OR IGNORE flag. |
||
55 | * |
||
56 | * @deprecated use ignore instead |
||
57 | * @param bool $enable Set or unset flag (default true). |
||
58 | * |
||
59 | * @return $this |
||
60 | * |
||
61 | */ |
||
62 | 1 | public function orIgnore($enable = true) |
|
67 | |||
68 | /** |
||
69 | * |
||
70 | * Adds or removes OR IGNORE flag. |
||
71 | * |
||
72 | * @param bool $enable Set or unset flag (default true). |
||
73 | * |
||
74 | * @return $this |
||
75 | * |
||
76 | */ |
||
77 | 2 | public function ignore($enable = true) |
|
82 | |||
83 | /** |
||
84 | * |
||
85 | * Adds or removes OR REPLACE flag. |
||
86 | * |
||
87 | * @param bool $enable Set or unset flag (default true). |
||
88 | * |
||
89 | * @return $this |
||
90 | * |
||
91 | */ |
||
92 | 1 | public function orReplace($enable = true) |
|
97 | |||
98 | /** |
||
99 | * |
||
100 | * Adds or removes OR ROLLBACK flag. |
||
101 | * |
||
102 | * @param bool $enable Set or unset flag (default true). |
||
103 | * |
||
104 | * @return $this |
||
105 | * |
||
106 | */ |
||
107 | 1 | public function orRollback($enable = true) |
|
112 | } |
||
113 |