mirror of
https://github.com/dg/dibi.git
synced 2025-10-22 02:06:27 +02:00
* removed $throwExceptions (always throws)
* added DibiLogger, dibi::notify(), dibi::startLogger() * miniprofiler dibi::$numOfQueries, $totalTime, $elapsedTime * simplified DibiException, added DibiDatabaseException * Dibi::nativeQuery splitted into DibiDriver::doQuery & nativeQuery() * moved dibi::dumpResult -> DibiResult::dump() * moved dibi::test() -> DibiDriver::test() * DibiTranslator generates $mask
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
OK: connected to DB 'sqlite'
|
||||
|
||||
OK: SELECT * FROM [customers] WHERE [customer_id] = 1;
|
||||
-- result: object(DibiSqliteResult) rows: 1
|
||||
-- takes: 0.331 ms
|
||||
-- driver: sqlite
|
||||
-- 2007-05-12 00:14:11
|
||||
|
||||
OK: SELECT * FROM [customers] WHERE [customer_id] < 5;
|
||||
-- result: object(DibiSqliteResult) rows: 4
|
||||
-- takes: 0.324 ms
|
||||
-- driver: sqlite
|
||||
-- 2007-05-12 00:14:11
|
||||
|
||||
ERROR: [1] SQL logic error or missing database
|
||||
-- SQL: SELECT FROM [customers] WHERE [customer_id] < 5
|
||||
-- driver: sqlite;
|
||||
-- 2007-05-12 00:14:11
|
||||
|
||||
ERROR: [1] SQL logic error or missing database
|
||||
-- SQL: SELECT FROM [customers] WHERE [customer_id] < 38
|
||||
-- driver: sqlite;
|
||||
-- 2007-05-12 00:14:11
|
||||
|
||||
|
Reference in New Issue
Block a user