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 ac1ab26e7aefb3a2e4fa809c71935db9b375e7ab.
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
David Grudl
deb56bb166
added appveyor.yml (thanks @mhujer)
2015-11-04 23:36:33 +01:00
David Grudl
5d44e55527
travis: uses own databases.travis.ini
2015-11-04 17:40:28 +01:00
David Grudl
78d24a0e74
tests: fixes
2015-11-04 17:40:19 +01:00
David Grudl
5aab1ff023
tests: improved ini quering, removed duplicated tests
2015-11-04 17:29:51 +01:00
David Grudl
6730fb4633
tests: added missing items to databases.sample.ini & etc
2015-11-04 17:29:51 +01:00
David Grudl
ac1ab26e7a
removed MsSqlDriver (is not available with PHP 5.3 or later; replaced with SqlsrvDriver)
2015-11-04 03:59:21 +01:00
David Grudl
b090ec802b
differentiated Type::TIME and Type::DATETIME
2015-11-03 19:01:15 +01:00
David Grudl
2627e23701
Fluent: fixed combination of modifier and inner fluent [ Closes #192 ]
2015-11-02 18:00:29 +01:00
David Grudl
0c22f3b43f
Translator: DateTime can be used only with %d or %t modifiers (BC break?)
2015-11-02 18:00:28 +01:00
David Grudl
b7d922d992
Translator: Literal can be used with %sql or %SQL modifiers
2015-11-02 18:00:27 +01:00
David Grudl
a9a45f0c4c
Translator: better error messages
2015-11-02 18:00:27 +01:00
David Grudl
654e345921
added test, whitespace
2015-11-02 18:00:26 +01:00
David Grudl
f2a400084f
Reflection\Result: fixed case insensitivity
2015-11-02 18:00:26 +01:00
David Grudl
1333d07833
SqlsrvDriver: added support for LIMIT & OFFSET on SQL Server 2012
2015-10-26 19:20:58 +01:00
David Grudl
c26201c75d
Fluent: exports limit & offset as %lmt and %ofs [ Closes #82 ]
...
Also fixes 20f2093 on MSSQL
2015-10-26 19:20:57 +01:00
David Grudl
70c68402ea
Fluent: prevents doubled processing
2015-10-26 19:20:57 +01:00
David Grudl
11027e2573
MsSql2005 driver renamed to Sqlsrv
2015-10-22 02:05:32 +02:00
David Grudl
c79f4a1475
MySQL drivers: type TIME is returned as DateInterval (BC break) [ Closes #168 ]
2015-10-13 21:16:49 +02:00
David Grudl
fbb63a9cc3
implemented DriverException descendants:
...
- ConstraintViolationException
- ForeignKeyConstraintViolationException
- NotNullConstraintViolationException
- UniqueConstraintViolationException
2015-10-13 21:16:48 +02:00
David Grudl
3f44e96353
tests: improved sql dumps, renamed pgsql -> postgre
2015-10-13 20:09:18 +02:00
David Grudl
4630e1818f
Result: normalizes invalid date to NULL
2015-10-13 15:04:22 +02:00
David Grudl
c0416bf176
Result: improved normalization of type INT
2015-10-13 15:04:14 +02:00
David Grudl
407a6f7550
Result: fixed normalization of float when ends with "0" [ Closes #189 ]
2015-10-13 15:03:59 +02:00
David Grudl
91c2be2a84
Result: normalize always converts type TEXT to string
2015-10-13 15:03:48 +02:00
castamir
20f2093aa5
Fluent::fetch(): fixed limit clause duplication [ Closes #188 ][ Closes #186 ][ Closes #185 ]
2015-10-09 12:20:15 +02:00
David Grudl
2e09a559f2
moved to namespace Dibi
...
added loader for old class names
2015-10-09 12:20:14 +02:00
David Grudl
80e2fd6cc3
DibiRow: shows suggestions for missing columns
2015-10-09 12:20:12 +02:00
David Grudl
a119921832
DibiObject: shows suggestions for undeclared members
2015-10-09 12:20:11 +02:00
David Grudl
f42d1b1611
DibiObject replaced with trait DibiStrict
2015-10-09 12:20:11 +02:00
David Grudl
76396ab250
DibiObject: simplified to minimum (BC break)
...
Removed support for setters, onEvent(), getClass() & getReflection().
Retained support for getters and extension methods.
2015-10-09 12:20:10 +02:00