1
0
mirror of https://github.com/dg/dibi.git synced 2025-02-23 02:12:25 +01:00

930 Commits

Author SHA1 Message Date
Chrudos Vorlicek
dd2fd654be Result::normalize() Fix select float in format of e-notation (#317) master (#321) 2018-10-25 22:33:09 +02:00
David Grudl
12cbbb3140 travis: added PHP 7.3 2018-10-17 17:47:27 +02:00
David Grudl
811974139e Released version 4.0.1 v4.0.1 2018-09-17 13:50:54 +02:00
David Grudl
7a49609468 test: fix for PHP 7.3 2018-09-17 13:45:50 +02:00
Jan Kuchař
89987f0cee PdoDriver: check for misconfigured PDO connections resource (#294) 2018-09-17 13:45:50 +02:00
David Grudl
b7e467ecac drivers: config in not passed via reference (BC break) 2018-09-17 13:45:50 +02:00
jan-oliva
fe0e7510af Firebird: Add escapeLike() (#300,#305) 2018-09-17 13:45:50 +02: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
Dalibor Korpar
168971292d Connection::update() Support updating multiple tables at once (#316) 2018-09-17 13:45:49 +02:00
David Grudl
95c424a71d Connection: accepts Driver instance (fixes 51fa3b9) [Closes #315] 2018-09-13 13:10:24 +02:00
David Grudl
4b85f0a973 travis: uses NCS 2 2018-09-13 03:28:02 +02:00
Jan Kuchař
e7539102cb fix: setType should accept null as type (#309) 2018-08-22 15:43:11 +02:00
David Grudl
0ad2dd70bc tests: added complex test for %like 2018-08-22 13:45:39 +02:00
Jan Kuchař
4abe874ce9 fix TypeError: substr() expects parameter 1 to be string, null given (#306) 2018-08-22 12:08:35 +02:00
Jan Kuchař
15df96bb22 fixed typehint (#307) 2018-08-22 12:08:03 +02:00
David Grudl
2870fb9b31 OdbcDriver: added option 'microseconds' 2018-08-09 22:55:09 +02:00
Pavel Kácha
c8dfb1f863 Dibi\Fluent: add annotations for methods and(), asc(), desc() #298 (#299) 2018-06-28 14:25:20 +02:00
David Grudl
9840c31995 updated donation links 2018-06-22 11:47:44 +02:00
Miroslav Koula
25fda3f8f1 DibiExtension: compatibility with Nette DI 3.x (#297)
Nette DI 3.x require $container->setFactory() usage except of $container->setClass()
2018-06-14 18:17:37 +02:00
Jan Endel
38128fbf9e typo
for example fluent:

$dibiConnection->select(‘id’)
    ->from(‘users’);

will not pass static analysis although is completely valid code.
2018-06-13 11:47:55 +02:00
Josef Drábek
73790f4321 PdoDriver::getInsertId() fixed 2018-05-30 14:00:54 +02:00
David Grudl
3930dafe3f Sqlite3Driver becomes alias for SqliteDriver 2018-05-23 17:14:32 +02:00
David Grudl
70b1e08d83 Released version 4.0.0 v4.0.0 2018-05-11 19:57:59 +02:00
David Grudl
6419c62368 readme.md: updates 2018-05-11 19:57:59 +02:00
David Grudl
d3fe68fe1e Update Github templates
Thanks to Babel for inspiration <3
2018-05-10 22:34:43 +02:00
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