David Grudl
030554e1ae
added dibi::stripMicroseconds
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
30dec49a9d
Column: types adjustment
2018-04-19 13:03:38 +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
2d523f6034
dibi: monostate implemented via __callStatic
2018-04-06 02:22:31 +02:00
David Grudl
e8638239e9
appveyor: use x64 PHP
2018-03-23 15:15:22 +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
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
Miloslav Hůla
f29f52eb28
Fluent: fixed TypeError, query() may return Result|int
2017-09-07 21:28:29 +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 3891625cd1
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
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
hubipe
60978bb176
Microsoft SQL Server and MSSQL support for microseconds fix ( #249 )
2017-07-21 23:04:42 +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
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
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
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
7f8e36c1e1
removed PHP < 7.1 support
2017-06-10 03:16:59 +02:00
hubipe
ed0cb63df0
Support for microseconds ( #246 )
2017-06-10 03:06:01 +02:00
David Grudl
126422ad7e
strict fixes
2017-06-10 03:05:18 +02:00
David Grudl
277f52c928
appveyor: is unable to start MSSQL 2012 & 2014 together
2017-06-10 02:58:47 +02:00
David Grudl
d9628f933d
coding style: removed space after reference &
2017-06-10 02:58:47 +02:00
David Grudl
c019e7cac2
tests: fixed compatibility with PHP 7.1
2016-07-21 14:38:56 +02:00
David Grudl
25246529f7
Translator, Fluent: preserve dot in name after AS [ Closes #224 ]
2016-07-20 16:13:33 +02:00
David Grudl
d405ec369b
Translator: added %N
2016-07-20 16:13:32 +02:00
David Grudl
80f1898e1b
tests: removed deprecated 'storage_engine'
2016-07-20 15:50:33 +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
ddfd4a0f1a
tests/travis: reports code coverage to Coveralls
2016-04-21 11:29:10 +02:00
David Grudl
0c099bb2bc
tests: a different .ini for PHP 5 and PHP 7
2016-03-20 19:23:57 +01:00
David Grudl
fdebf349f5
appveyor: test under PHP 7
2016-03-18 15:07:45 +01:00
Mira Paulik
43dccb1ba2
SqlsrvDriver::getInsertId() last inserted id is from last statement instead of last inserted row regardless of the table that produced the value
2016-02-29 16:10:59 +01:00
Mira Paulik
6b2a46bcb8
appveyor: testing with SQL Server 2012 & 2014
2016-01-28 19:55:55 +01:00
Mira Paulik
2c01d993d0
SqlsrvReflector::getTables(): gets list of all tables from dbo schema only
2016-01-28 19:54:46 +01:00
Mira Paulik
e415157206
SqlsrvDriver::applyLimit(): fixed limit and offset behaviour for odbc 11+
...
SqlsrvReflector: changed constrains metadata loading from INFORMATION_SCHEMA to sys schema to get complete list of all constraints, not PK only
2016-01-28 19:48:49 +01:00
David Grudl
8a7dbcba86
Revert "removed MsSqlDriver (is not available with PHP 5.3 or later; replaced with SqlsrvDriver)"
...
This reverts commit ac1ab26e7a
.
2016-01-24 22:52:18 +01:00
David Grudl
a8691eb8f5
Connection::substitute() fixed [ Closes #197 ]
2015-11-26 12:24:57 +01:00
David Grudl
ff22e8de09
Helpers::getSuggestion() better balance. Replacement is more expensive than insertion/deletion.
2015-11-07 02:31:14 +01:00
David Grudl
607ec8ae77
tests: not supported drivers are not skipped (except for 'mysql' on PHP 7)
2015-11-04 23:36:34 +01:00