mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 22:26:43 +02:00
updated for Nette 2.0 beta: exceptions
This commit is contained in:
@@ -150,7 +150,7 @@ class DibiSqliteReflector extends DibiObject implements IDibiReflector
|
||||
public function getForeignKeys($table)
|
||||
{
|
||||
if (!($this->driver instanceof DibiSqlite3Driver)) {
|
||||
// throw new NotSupportedException; // @see http://www.sqlite.org/foreignkeys.html
|
||||
// throw new DibiNotSupportedException; // @see http://www.sqlite.org/foreignkeys.html
|
||||
}
|
||||
$res = $this->driver->query("PRAGMA foreign_key_list([$table])");
|
||||
$keys = array();
|
||||
|
Reference in New Issue
Block a user