104 Commits

Author SHA1 Message Date
Arhell
d701ef06a6 update links 2022-08-05 00:03:20 +03:00
Carsten Brandt
0c10c18c4f fixed indentation 2016-01-13 16:37:44 +01:00
ivan
a91041174d Fixes #2894: It is now possible to use table names containing spaces by introducing alias 2015-01-24 21:14:46 +03:00
Carsten Brandt
38754bb259 bump @since version number for 1.1.15
they are in 1.1.16 now because 1.1.15 was a security release
2014-10-23 19:35:48 +02:00
Carsten Brandt
c0288615fc Added CDbCommand::naturalLeftJoin() and naturalRightJoin()
fixes #3068, fixes #3070, fixes #3075
2014-01-28 13:03:18 +01:00
munawer-t
1a52aa30cb some more typos 2014-01-07 16:01:12 +05:30
Alexander Makarov
dcec697c06 Fixes #3115: Updated phpdoc for better code completion in modern IDEs 2013-12-31 12:12:09 +01:00
Qiang Xue
dd8e7f242a Fixes #3134: Fixed the issue that query cache returns the same data for the same SQL but different query methods 2013-12-29 14:26:39 -05:00
Carsten Brandt
f868829627 Fix problem with array to string converion in CDbMigration
methods accept array as of changes in #2090 and #2817/#2818 so
CDbMigration output has to reflect the changes and do not fail.

fixes #3064
2013-11-25 13:53:07 +01:00
Paul Klimov
98d077200a CDbCommand::buildQuery() no longer throw exception if 'from' is missing. 2013-08-30 15:54:00 +03: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
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
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
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
Alexander Makarov
762eba6bd4 Fixes #1174 2012-11-24 17:22:52 +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
Tom Ridge
840d19a3a3 Merge branch 'master' of github.com:yiisoft/yii into 848-add-pk-support-to-migrations
Conflicts:
	CHANGELOG
	framework/db/schema/CDbSchema.php
2012-11-09 13:57:58 +10:00
Tom Ridge
56ae99b57d Added addPrimaryKey and dropPrimaryKey commands to CDbMigration class in response to enh req #848 2012-11-09 13:46:13 +10:00
Alexander Makarov
8bad9a5905 Proper fix for CDbCommand::setFetchMode wasn't accepting additional arguments needed for PDO::FETCH_CLASS 2012-10-21 00:00:18 +04:00
Alexander Makarov
425284b67f Fixed the bug that CDbCommand::setFetchMode wasn't accepting additional arguments needed for PDO::FETCH_CLASS (reverse-merged from commit d0154ef613) 2012-10-20 23:26:04 +04:00
Alexander Makarov
d0154ef613 Fixed the bug that CDbCommand::setFetchMode wasn't accepting additional arguments needed for PDO::FETCH_CLASS 2012-10-20 22:55:29 +04:00
Alexander Kochetov
486723805e else if => elseif 2012-10-03 10:20:14 +04:00
Alexander Makarov
d865a3bab8 Fixes #1057 Removed SVN ids 2012-09-09 22:23:45 +04:00
Alexander Makarov
0588d77574 minor style fixes 2012-09-08 14:04:50 +04:00
resurtm
9a3b6093f8 Merge branch 'master' of git://github.com/yiisoft/yii into 1183-db-command-where-append
Conflicts:
	CHANGELOG
2012-09-08 09:43:44 +06:00
Carsten Brandt
c7f44e8653 Update framework/db/CDbCommand.php
typo

[ci skip]
2012-09-03 23:45:59 +03:00
Carsten Brandt
76f24b369e doc enhancement to CDbCommand fixes #1272 2012-09-03 22:43:56 +02:00
resurtm
efcbb3bd7c CDbCommand::andWhere() and CDbCommand::orWhere() will be released in 1.1.13. Preparations for this. 2012-08-12 15:21:07 +06:00
resurtm
0c2152dd02 addWhere() extracted into two other methods: orWhere() and andWhere(). 2012-08-11 11:25:24 +06:00
resurtm
f803b6055e Fixes #1183: added CDbCommand::addWhere() which appends condition to the WHERE part of the query, in contrary of CDbCommand::where() which replaces it. 2012-08-11 01:04:19 +06:00
CeBe
55820a135b added params to profiling token, on paramlogging
this makes execute() consistent with queryInternal()
as described in #1000
2012-07-29 12:34:08 +02:00
Suralc
a056c28e08 Removed unnecessary comparison in buildQuery 2012-07-28 15:48:51 +02:00
Suralc
d25601d56a Solution for #1045 2012-07-28 14:27:01 +02:00
mdomba
a7ef3d5d02 removed 1.0.x reference from documentation 2011-12-28 12:29:24 +00:00
alexander.makarow
646cbb2b9a Documented component accessors with @property for significantly better IDE autocomplete 2011-10-25 00:01:09 +00:00
qiang.xue
1633710884 (Fixes issue 2474) 2011-05-25 19:22:47 +00:00
alexander.makarow
e7b6883ebb PhpDoc corrections 2011-05-05 21:36:32 +00:00
qiang.xue
54aec26f93 Query caching may give incorrect caching results when bindParam or bindValue is used 2011-04-26 12:33:26 +00:00
qiang.xue
3d0fb9c6ff (Fixes issue 2325) 2011-04-13 01:07:50 +00:00
qiang.xue
c0889ed1e9 (Fixes issue 2000) 2011-03-12 21:56:01 +00:00
qiang.xue
a303e6d498 (Fixes issue 2094) 2011-03-11 22:34:47 +00:00
qiang.xue
63a27f3e4a Allow the AS keyword to be optional when specifying column alias in query builder. 2011-03-07 13:21:24 +00:00