| @@ 53-64 (lines=12) @@ | ||
| 50 | ||
| 51 | } |
|
| 52 | ||
| 53 | protected function compileLimit() { |
|
| 54 | ||
| 55 | $sql = []; |
|
| 56 | ||
| 57 | if( $this->limit ) { |
|
| 58 | $sql[] = "LIMIT :limit"; |
|
| 59 | $this->params['limit'] = $this->limit; |
|
| 60 | } |
|
| 61 | ||
| 62 | return $sql; |
|
| 63 | ||
| 64 | } |
|
| 65 | ||
| 66 | } |
|
| 67 | ||
| @@ 85-96 (lines=12) @@ | ||
| 82 | ||
| 83 | } |
|
| 84 | ||
| 85 | protected function compileLimit() { |
|
| 86 | ||
| 87 | $sql = []; |
|
| 88 | ||
| 89 | if( $this->limit ) { |
|
| 90 | $sql[] = "LIMIT :limit"; |
|
| 91 | $this->params['limit'] = $this->limit; |
|
| 92 | } |
|
| 93 | ||
| 94 | return $sql; |
|
| 95 | ||
| 96 | } |
|
| 97 | ||
| 98 | } |
|
| 99 | ||