| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 1 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function getSequenceNumber(string $name) : string |
||
| 19 | { |
||
| 20 | // SQLite does not support sequences. However, PDO::lastInsertId() ignores the name parameter, and returns |
||
| 21 | // the last insert ID even if a sequence name is given. We expect an exception in that case. |
||
| 22 | throw new PDOException('SQLite does not support sequences.'); |
||
| 23 | } |
||
| 25 |