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
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
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
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
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
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
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
David Grudl
ae68965710
type constants dibi::* moved to new class Type
2015-10-09 12:20:09 +02:00
David Grudl
59223d937d
removed usage of magic properties
2015-10-09 12:20:08 +02:00
David Grudl
7c1f735f9b
used PHP 5.4 syntax
2015-10-09 12:20:08 +02:00
David Grudl
2522dcd7fe
new directory structure, moved to /src
2015-10-09 12:20:04 +02:00
David Grudl
d708ac2aeb
tests: added new, typo
2015-10-06 15:39:37 +02:00
David Grudl
806ee1ccd1
DibiObject: fixed compatibility with PHP 7
2015-10-06 15:35:55 +02:00
David Grudl
ca99b0b822
improved coding style
2015-06-19 15:00:23 +02:00
David Grudl
d3151f7c65
DibiTranslator: deprecated support for hex number in strings '0xFF' (BC break)
...
related to PHP7 and https://wiki.php.net/rfc/remove_hex_support_in_numeric_strings
2015-06-15 14:57:38 +02:00