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

168 Commits

Author SHA1 Message Date
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
3616130959 added typehints 2018-03-21 16:36:47 +01:00
David Grudl
837b97b582 phpDoc: added $var name to @param 2018-03-21 13:38:58 +01:00
David Grudl
a1ef432ae5 readme.md: static -> object 2018-03-09 15:01:30 +01:00
David Grudl
9b12106437 type fixes 2018-03-09 13:18:32 +01:00
Korney Czukowski
432d0a8f7c Previous exception can now be passed to Dibi\Exception constructor (#275) 2018-02-16 14:11:59 +01:00
jahudka
3f020be15b Firebird: fix datetime precision (#277) (#273) 2018-02-16 10:47:00 +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
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
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
Miloslav Hůla
8647901d3c Tracy\Panel: fixed TypeError in renderException() 2017-09-06 18:50:10 +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
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
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
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
David Grudl
db8346a124 removed deprecated stuff 2017-06-10 03:16:59 +02:00
David Grudl
85787cf9cd opened 4.0-dev 2017-06-10 03:08:16 +02:00