1
0
mirror of https://github.com/dg/dibi.git synced 2025-02-24 02:43:09 +01:00

14 Commits

Author SHA1 Message Date
Andrej Rypo
7d82ce2ff6 MySqliDriver::getResource() fixed access to resource being closed prior to the call in PHP 8 (#410) 2021-12-12 18:00:04 +01:00
David Grudl
6e41c4223b tests: test() with description 2020-10-08 15:55:11 +02:00
Milan Pála
0bd222b3f1 tests: added reconnect test (#352) 2020-02-23 18:50:27 +01:00
Miloslav Hůla
eaf2494d90 Connection: added config option onConnect (#303)
onConnect option is an array of SQL queries run by Connection::query() right after a database connection is established.
2018-09-17 13:45:50 +02:00
David Grudl
fbdd22de35 Connection::__construct() parameter config should be array (BC break) 2018-04-19 13:03:38 +02:00
David Grudl
a299c622c3 coding style: TRUE/FALSE/NULL -> true/false/null 2017-07-21 22:53:45 +02:00
David Grudl
3b37295e78 coding style: fixed spaces & use statements order 2017-07-21 22:53:45 +02:00
David Grudl
a6028054d6 added declare(strict_types=1); 2017-06-10 03:45:33 +02:00
David Grudl
3891625cd1 used PHP 7.1 features
- ::class
- ... argument unpacking
- removed call_user_func
- operator ??
- list()
- short <?=
2017-06-10 03:16:59 +02:00
David Grudl
126422ad7e strict fixes 2017-06-10 03:05:18 +02:00
Milan Pála
6510fcce25 Disconnect on not connected driver not fail (#222)
Sometimes database go away and Connection::isConnected() is returning TRUE. Prevent this should be posibble to disconnect on closed connection without error.
2016-07-20 15:50:32 +02:00
David Grudl
2e09a559f2 moved to namespace Dibi
added loader for old class names
2015-10-09 12:20:14 +02:00
David Grudl
7c1f735f9b used PHP 5.4 syntax 2015-10-09 12:20:08 +02:00
David Grudl
2522dcd7fe new directory structure, moved to /src 2015-10-09 12:20:04 +02:00