| 1 | <?php |
||
| 20 | class Update extends Common\Update implements Common\OrderByInterface, Common\LimitInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * |
||
| 24 | * Adds or removes LOW_PRIORITY flag. |
||
| 25 | * |
||
| 26 | * @param bool $enable Set or unset flag (default true). |
||
| 27 | * |
||
| 28 | * @return $this |
||
| 29 | * |
||
| 30 | */ |
||
| 31 | 1 | public function lowPriority($enable = true) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * |
||
| 39 | * Adds or removes IGNORE flag. |
||
| 40 | * |
||
| 41 | * @param bool $enable Set or unset flag (default true). |
||
| 42 | * |
||
| 43 | * @return $this |
||
| 44 | * |
||
| 45 | */ |
||
| 46 | 1 | public function ignore($enable = true) |
|
| 51 | |||
| 52 | /** |
||
| 53 | * |
||
| 54 | * Sets a limit count on the query. |
||
| 55 | * |
||
| 56 | * @param int $limit The number of rows to select. |
||
| 57 | * |
||
| 58 | * @return $this |
||
| 59 | * |
||
| 60 | */ |
||
| 61 | 4 | public function limit($limit) |
|
| 66 | |||
| 67 | /** |
||
| 68 | * |
||
| 69 | * Returns the LIMIT value. |
||
| 70 | * |
||
| 71 | * @return int |
||
| 72 | * |
||
| 73 | */ |
||
| 74 | 1 | public function getLimit() |
|
| 78 | |||
| 79 | /** |
||
| 80 | * |
||
| 81 | * Adds a column order to the query. |
||
| 82 | * |
||
| 83 | * @param array $spec The columns and direction to order by. |
||
| 84 | * |
||
| 85 | * @return $this |
||
| 86 | * |
||
| 87 | */ |
||
| 88 | 1 | public function orderBy(array $spec) |
|
| 92 | } |
||
| 93 |