Commit Graph

574 Commits

Author SHA1 Message Date
ivokund
16e7bac6af Update CActiveFinder.php
Adds the missing "params" array from the query object.
2013-03-20 17:00:48 +02:00
Paul Klimov
ed7927ff8d "CDbCommandBuilder::createInCondition()" has been updated allowing to pass array of values with mixed keys for the single type column. 2013-03-20 13:22:54 +02:00
resurtm
28a3c79185 Fixes #2121: CMssqlSchema::resetSequence() incorrectly resets sequence. 2013-03-17 11:00:19 +06:00
CeBe
d3d94b9188 reverted changes of pull request #2163
changes are not compatible with PHP <5.3
2013-03-12 19:57:16 +01:00
CeBe
307a190a83 some adjustments to pull request #2159 2013-03-12 17:11:50 +01:00
CeBe
c70936afd2 Merge pull request #2160 branch '2159-fix-delete-with-join' of https://github.com/serebrov/yii into serebrov-2159-fix-delete-with-join
* '2159-fix-delete-with-join' of https://github.com/serebrov/yii:
  Fixes #2159 - problem with command builder for delete with joins.

Conflicts:
	CHANGELOG
2013-03-12 16:53:54 +01:00
Carsten Brandt
3d3134a1e2 Merge pull request #2163 from odevyatkov/addParentException
add previous exception to base yii exception classes as param
2013-03-12 08:24:35 -07:00
Alexander Makarov
fa787ce919 Merge pull request #2170 from yiiframework-com-ua/uk_docs
Fixing typos, PHPDocs
2013-03-06 16:05:59 -08:00
borales
aa1a7c9fc0 Replacing spaces with tabs, removing dots
[ci skip]
2013-03-06 21:07:47 +02:00
borales
6d19a150d4 Replacing spaces with tabs, removing dots
[ci skip]
2013-03-06 20:59:38 +02:00
borales
2f68a75235 Replacing spaces with tabs
[ci skip]
2013-03-06 08:48:59 +02:00
borales
07975cad64 Fixing spaces
[ci skip]
2013-03-06 01:06:46 +02:00
borales
a7af2c5371 Fixing some typos, PHPDocs
[ci skip]
2013-03-06 00:24:35 +02:00
Alexander Makarov
356c00247e Fixes #2048: AR now uses alias from CActiveRecord::getTableAlias instead of always using default "t" 2013-03-06 02:21:24 +04:00
Alexander Makarov
f0613e5fce Merge branch 'patch-1' of git://github.com/s-larionov/yii into s-larionov-patch-1 2013-03-06 02:11:07 +04:00
Paul Klimov
4a17cf0e4a "CActiveFinder::count()" has been updated allowing correct records count with having. 2013-03-04 15:45:59 +02:00
odevyatkov
35738f6274 add previous exception as param 2013-03-03 20:40:14 +02:00
Boris Serebrov
4fdf2d0044 Fixes #2159 - problem with command builder for delete with joins. 2013-03-01 22:19:46 +02:00
Maurizio Domba
30426274df Merge pull request #2125 from Ragazzo/Fixed-formatting-for-CPgsqlSchema
Fixed formatting for CPgsqlSchema
[ci skip]
2013-02-19 00:55:28 -08:00
Ragazzo
07ec4be9b2 Small formatting fix 2013-02-19 05:19:11 +04:00
Ragazzo
f65ad8836c 2013-02-19 05:15:09 +04:00
Ragazzo
911ea9de2c Fixed formatting 2013-02-19 05:06:22 +04:00
Carsten Brandt
def20b88e9 Update framework/db/ar/CActiveFinder.php
typo
2013-02-14 18:27:39 +01:00
Sergey Larionov
390b0e797c Удалил дополнительную проверку в ar->update, которая приводила к ошибкам 2013-02-05 14:34:18 +11:00
Sergey
729a333d84 Fix table alias in ar->exists method 2013-02-05 03:25:30 +11:00
Ragazzo
16406afd49 Small changes in docs 2013-02-04 20:22:37 +04:00
Ragazzo
e3f5de64e6 Fixed docs 2013-02-02 01:33:39 +04:00
Sergey
826be39504 Update framework/db/ar/CActiveRecord.php
method save() always returns true, even if the record does not exist in the database
2013-02-01 02:43:18 +11:00
Evgeny Blinov
bbd21413c9 CStatElement with join bugfix 2013-01-28 17:07:01 +04:00
Sergey
8afb3b5855 Update framework/db/ar/CActiveRecord.php
Если в ActiveRecord переопределить метод getTableAlias, то будут возникать ошибки неизвестной таблицы t, а так он будет использовать текущий алиас у таблицы
2013-01-28 16:01:08 +11:00
Alexander Makarov
06e846be18 Merge branch 'fix-dropPrimaryKey-column-reference' of git://github.com/paystey/yii into paystey-fix-dropPrimaryKey-column-reference
Conflicts:
	framework/db/CDbMigration.php
2013-01-26 22:28:25 +01:00
Carsten Brandt
37b7d8b3d9 fixed problem with column comments
mysql 4.x

fixed #2030
2013-01-23 21:19:56 +01:00
resurtm
40dca168e1 PHPDoc: cache dependency related methods' arguments type changed from CCacheDependency to CCacheDependency|ICacheDependency 2013-01-18 14:38:07 +06:00
Alexander Makarov
9bceff8643 Merge pull request #1983 from samsonasik/update/copyright
update copyright year
2013-01-17 02:09:32 -08:00
leha@papulovskiy.ru
41cdba7ba1 Fixes #1984 undeclared variable usage in CDbMigration 2013-01-15 16:43:38 +04:00
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
slavcopost
3c737f7d25 Update ActiveRecord phpDoc 2013-01-14 21:34:58 +02:00
Carsten Brandt
3de928e6bf Throw exception on missing PDO class in CDbConnection
issue #645
2013-01-11 16:35:29 +01:00
Paystey
6523f4cfd3 Slight wording change 2013-01-10 14:21:51 +00:00
Paystey
edceceb61d Remove reference to undefined variable 2013-01-10 14:14:14 +00:00
Alexander Makarov
d1cf0527ce Fixes #645: CDbConnection now throws CDbException when failed to open DB connection instead of failing with a warning 2013-01-08 02:12:58 +04:00
nsanden
933ae61067 fixed formatting issues 2012-11-30 20:50:48 -08:00
nsanden
bdd941b883 moved union to be before limit/order/offset 2012-11-30 20:41:25 -08:00
Carsten Brandt
ca9de83d88 Fixed #138 support Mysql ANSI mode 2012-11-30 18:00:15 +01:00
Alexander Makarov
762eba6bd4 Fixes #1174 2012-11-24 17:22:52 +04:00
Vlas Korzhov
d6fda90a65 Fixes #1746: CDbCriteria::mergeWith() is now more consistent with all other class methods 2012-11-24 15:37:54 +04:00
Carsten Brandt
f054f0b890 added a note about values beeing threated as strings to CDbCommand
issue #1122
[ci skip]
2012-11-21 14:43:58 +01:00
Maurizio Domba (mdwork)
879956b7b4 Fixes #1406 allow storing of false return value from CDbCommand 2012-11-15 13:17:17 +01:00
Alexander Makarov
911b330289 Fixes #1657: CDbCommandBuilder::createUpdateCounterCommand now can be used with float values 2012-11-15 01:38:13 +04:00