mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 13:47:33 +02:00
* throwing exception in DibiTranslator and DibiDriver
+ added dibi::$errorMode
This commit is contained in:
@@ -17,6 +17,8 @@ dibi::connect(array(
|
||||
|
||||
|
||||
$res = dibi::query('SELECT * FROM table');
|
||||
if (is_error($res))
|
||||
die('SQL error');
|
||||
|
||||
|
||||
// fetch a single value
|
||||
|
Reference in New Issue
Block a user