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

1098 Commits

Author SHA1 Message Date
David Grudl
bff1e6310f loader: fixed missing class 'dibi.php' 2018-02-15 11:53:15 +01:00
Petr Bugyík
d2dbcfa43c drivers: changed self:: to static:: 2018-02-14 13:05:48 +01:00
David Grudl
c9c104249f coding style 2018-02-11 22:48:56 +01:00
Sean Snyder
5046929e28 PostgreDriver::getInsertId() Ensuring that an integer is returned, if postgres returned a string (#271) 2017-12-21 20:02:16 +01:00
Petr Kučera
cac571ee60 PdoDriver: Missing dblib in switch (#267)
Pull request #249 forgot about dblib in switch
2017-10-05 16:12:06 +02:00
David Grudl
49dca48c04 readme: updated 2017-09-26 16:04:35 +02:00
David Grudl
9a123f3263 coding style 2017-09-26 13:27:50 +02:00
David Grudl
e93bab27e9 Translator: Dibi\Expression should be used instead of array 2017-09-21 15:05:52 +02:00
David Grudl
499e3aea40 added Dibi\Expression [Closes #264] 2017-09-21 14:54:08 +02:00
David Grudl
832313bc73 whitespace 2017-09-21 14:17:14 +02:00
David Grudl
ecda8d0adf Translator: fixed %dt with DateTimeInterface object [Closes #263] 2017-09-21 14:03:37 +02:00
Miloslav Hůla
f29f52eb28 Fluent: fixed TypeError, query() may return Result|int 2017-09-07 21:28:29 +02:00
Miloslav Hůla
9eb0f1422c OdbcDriver, OracleDriver, SqlsrvDriver, Sqlite3Driver: query() returns ResultSet only when contains columns 2017-09-07 21:27:46 +02:00
David Grudl
b35b75d9c7 MySqliDriver: removed deprecated stuff 2017-09-07 21:27:30 +02:00
David Grudl
125db626e5 Connection, dibi: deprecated insertId() & affectedRows() 2017-09-07 21:27:30 +02:00
David Grudl
0531e82838 composer: used Tester 2 2017-09-07 21:25:28 +02:00
Miloslav Hůla
8647901d3c Tracy\Panel: fixed TypeError in renderException() 2017-09-06 18:50:10 +02:00
David Grudl
5c41282b88 coding standard: added exception for HashMap.php 2017-08-05 13:42:47 +02:00
Miloslav Hůla
6550b53175 tests: connection removed from bootstrap 2017-08-05 13:41:08 +02:00
Miloslav Hůla
0c09ad97ca HasmMap: fixed empty property name access
Introduced by 3891625cd1a1cb063486b3d62f3d2846699c906a

PostgreSQL uses '::' syntax for type casting. Before this fix, HashMap returned ':\xff:' during SQL translation/substitution.
2017-08-05 13:33:36 +02:00
David Grudl
1b516786fb Microsoft SQL Server and MSSQL support for microseconds fix cont. 2017-07-26 19:25:38 +02:00
David Grudl
55523f4ed8 typo 2017-07-24 17:04:13 +02:00
David Grudl
ba927b4782 travis: use stages 2017-07-24 14:40:41 +02:00
Jan Pecha
afe728d07a Result::fetch() removed typehint (#257) 2017-07-22 11:14:39 +02:00
David Grudl
2d5ac775bc used safe casting to int (BC break) 2017-07-22 00:56:27 +02:00
David Grudl
49e90517b9 Translator: %i %f throws exception when value is not numeric (BC break) 2017-07-22 00:40:14 +02:00
David Grudl
1b59801bed removed unnecessary (int) 2017-07-22 00:40:13 +02:00
David Grudl
e755a59063 __toString() returns always string 2017-07-22 00:40:07 +02:00
hubipe
60978bb176 Microsoft SQL Server and MSSQL support for microseconds fix (#249) 2017-07-21 23:04:42 +02:00
David Grudl
cb9fd29207 strict type fixes [Closes #255][Closes #256] 2017-07-21 22:53:46 +02:00
David Grudl
662927d823 examples: uses composer autoload 2017-07-21 22:53:46 +02:00
David Grudl
4ed3e689a7 examples: added declare strict types 2017-07-21 22:53:46 +02:00
David Grudl
bced758bbd travis: tested using Nette Coding Standard 2017-07-21 22:53:46 +02:00
David Grudl
dac0a116a8 coding style: fixes in code 2017-07-21 22:53:46 +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
1278907f39 OracleDriver: by default uses native date format 2017-07-21 22:53:45 +02:00
David Grudl
14ca289e59 readme: updated installation and requirements 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
957d9281f3 strict type fixes 2017-06-10 03:45:32 +02:00
David Grudl
f9997f9b52 removed useless type juggling and checking 2017-06-10 03:45:32 +02:00
David Grudl
43045a0585 removed useless annotations @param and @return 2017-06-10 03:45:32 +02:00
David Grudl
859eada4e7 added PHP 7.1 scalar and return type hints 2017-06-10 03:45:29 +02:00
David Grudl
7d42317279 fetch(), fetchSingle(), getAffectedRows(), getInsertId() return NULL instead of FALSE on error (BC break) 2017-06-10 03:22:05 +02:00
David Grudl
5c514f6721 Translator::formatValue() second arg can be NULL 2017-06-10 03:17:00 +02:00
David Grudl
68e0aef469 used variadics (BC break: signatures are changed) 2017-06-10 03:17:00 +02:00
David Grudl
24180c76bd uses only DateTimeInterface & Throwable 2017-06-10 03:16:59 +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
750d70c77a removed DateTime::__wakeup 2017-06-10 03:16:59 +02:00
David Grudl
7f8e36c1e1 removed PHP < 7.1 support 2017-06-10 03:16:59 +02:00