1
0
mirror of https://github.com/dg/dibi.git synced 2025-02-22 01:48:05 +01:00

905 Commits

Author SHA1 Message Date
David Grudl
a6392db67d improved phpDoc, capitalized Dibi 2018-05-10 22:34:04 +02:00
David Grudl
a6d46c7006 Connection: begin, commit and rollback catches DriverException 2018-05-09 13:33:54 +02:00
David Grudl
bd8ce38320 MySqliDriver: refactoring, uses OOP style 2018-05-09 13:33:54 +02:00
David Grudl
8dff5b5b3c Connection::query() and Fluent::execute() always return Result, not the number of affected rows (BC break) 2018-05-09 13:26:13 +02:00
David Grudl
e291d4d825 type fixes 2018-05-09 13:26:13 +02:00
David Grudl
06a487532d Result: added getColumnCount() 2018-05-09 13:26:13 +02:00
David Grudl
923fc0f3c3 Connection: $connected replaced with $driver 2018-05-09 13:26:13 +02:00
David Grudl
51fa3b9086 Dibi\Driver::connect() replaced with constructor (BC break) 2018-05-09 13:22:46 +02:00
David Grudl
d4f30ddf5b typos 2018-05-09 13:22:46 +02:00
David Grudl
7c9b3caed9 PdoDriver: returns OracleReflector, PostgreReflector, SqlsrvReflector 2018-05-09 13:22:46 +02:00
David Grudl
3eb255899f result drivers: resultSet is not nullable 2018-05-09 13:22:46 +02:00
David Grudl
8c57b0aad9 drivers divided into Driver and Reflector (BC break) 2018-05-09 13:22:46 +02:00
David Grudl
7d704d7edd drivers divided into Driver and ResultDriver (BC break) 2018-05-09 11:44:43 +02:00
David Grudl
479520b864 typos 2018-05-09 11:43:45 +02:00
David Grudl
ca6f1c819a type improvements 2018-05-09 11:43:36 +02:00
David Grudl
9bcca8feb0 Revert "Result: fetch refactoring" [Close #284]
This reverts commit ab7683a3d29f455ebf711bda03e756c09ac26151.
2018-05-09 11:43:36 +02:00
David Grudl
3c9a3da83a Result: JSON is always decoded as array [Closes #282] 2018-05-09 11:43:36 +02:00
David Grudl
76cff5c10a Result: calls unescapeBinary() only for strings [Closes #283] 2018-05-09 11:43:36 +02:00
David Grudl
bea524a621 removed MsSqlDriver (is not available in PHP7) 2018-05-09 11:43:09 +02:00
David Grudl
030554e1ae added dibi::stripMicroseconds 2018-04-19 13:03:38 +02:00
David Grudl
10324322be readme.md: updated 2018-04-19 13:03:38 +02:00
David Grudl
d7270e1f4d Strict: extension methods are deprecated 2018-04-19 13:03:38 +02:00
David Grudl
fbdd22de35 Connection::__construct() parameter config should be array (BC break) 2018-04-19 13:03:38 +02:00
David Grudl
0129d340d3 removed support for FirePHP 2018-04-19 13:03:38 +02:00
David Grudl
30dec49a9d Column: types adjustment 2018-04-19 13:03:38 +02:00
David Grudl
47179d5632 Sqlite3Driver: for SQLite 3 is not needed to strip [] from column names 2018-04-19 13:03:37 +02:00
David Grudl
cb067a6bec Sqlite3Driver: removed support for charset conversion (BC break!) 2018-04-19 13:03:37 +02:00
David Grudl
045e45a8c6 refactoring 2018-04-19 13:03:35 +02:00
David Grudl
5a2332899b type fixes 2018-04-17 15:23:51 +02:00
David Grudl
ab7683a3d2 Result: fetch refactoring 2018-04-17 15:23:51 +02:00
David Grudl
a6c53c7462 examples: dibi:: replaced with $dibi-> 2018-04-17 15:23:51 +02:00
Jan Endel
3ccd802814 add interface IConnection (#274) 2018-04-17 10:00:27 +02:00
Jan Dvořák
b1420cee0b Fluent: Remove return type for fetch method (#280) 2018-04-17 09:57:10 +02:00
David Grudl
3050aebb48 typo 2018-04-09 16:31:40 +02:00
David Grudl
cf0129a194 Translator: improved Expression usage 2018-04-06 02:56:22 +02:00
David Grudl
ccc035c8fb removed dibi::$defaultDriver (BC break) 2018-04-06 02:28:26 +02:00
David Grudl
2d523f6034 dibi: monostate implemented via __callStatic 2018-04-06 02:22:31 +02:00
David Grudl
6575630cad added Connection::expression() 2018-04-06 01:20:32 +02:00
David Grudl
6deb7f7d08 PdoDriver: improved detection of query result [Closes #279] 2018-03-28 18:03:39 +02:00
David Grudl
bc5e4e378c appveyor: improved 2018-03-23 17:53:13 +01:00
David Grudl
05999b4dde readme.md: better requirements info 2018-03-23 15:20:34 +01:00
David Grudl
e8638239e9 appveyor: use x64 PHP 2018-03-23 15:15:22 +01:00
David Grudl
5ad6cc1171 DateTime::modifyClone() is deprecated (BC break) 2018-03-23 13:45:39 +01:00
David Grudl
2dec5618a6 DateTime: added immutable usage detector™ 2018-03-23 13:45:39 +01:00
David Grudl
c386357850 DateTime extends DateTimeImmutable instead of DateTime (BC break) 2018-03-23 13:45:39 +01:00
David Grudl
8f47def4a2 DateTime: removed setTimestamp() and getTimestamp(), big int are supported in x64 PHP versions 2018-03-23 13:45:39 +01:00
David Grudl
0a19ccbf80 added JSON support [Closes #269] 2018-03-23 13:45:39 +01:00
David Grudl
7481c38759 reflection: removed Column::isUnsigned() (BC break) 2018-03-23 12:09:34 +01:00
David Grudl
714272bbbf examples: added notice when vendor/autoload.php not found 2018-03-23 11:58:09 +01:00
David Grudl
3616130959 added typehints 2018-03-21 16:36:47 +01:00