Commit Graph

75 Commits

Author SHA1 Message Date
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
qiang.xue
2b69df1608 (Fixes issue 2178) 2011-03-07 13:16:11 +00:00
alexander.makarow
2ab981b454 reverted method chaining support 2011-02-24 16:42:44 +00:00
alexander.makarow
75041e8620 Chained calls are now possible for most framework class setters and methods not returning a value 2011-02-23 20:20:28 +00:00
qiang.xue
fd7d3dc138 fixed doc error. 2011-02-17 02:56:49 +00:00
alexander.makarow
f2abf4911d 2011-02-12 20:43:40 +00:00
alexander.makarow
1d157b218d (Fixes issue 2011) Added CDbCommand::setFetchMode to allow setting PDO result fetching mode 2011-02-11 22:30:05 +00:00
qiang.xue
22621c5d08 * Added support for query caching. 2011-02-11 03:48:01 +00:00
alexander.makarow
6c27e008d7 2011-02-04 15:08:03 +00:00
alexander.makarow
8316b78385 Fixed resetting sequence in CDbCommand::truncateTable 2011-02-04 14:53:50 +00:00
qiang.xue
3588961dde (Fixes issue 1771) 2011-01-06 16:57:10 +00:00
qiang.xue
42436761bd changed like operands. 2011-01-02 01:14:27 +00:00
qiang.xue
4be0af6917 changed copyright year. 2011-01-01 19:31:13 +00:00
mdomba
a94c075f78 Changed "int" to "integer" for consistency, in PHPDoc 2010-12-29 13:53:25 +00:00
qiang.xue
978a406f71 (Fixes issue 1888) 2010-12-28 18:24:27 +00:00
qiang.xue
c9d5d8357c (Fixes issue 1855) 2010-12-04 19:59:53 +00:00
qiang.xue
836e11ed6f * Added support for adding/dropping foreign key constraints using query builder. 2010-12-02 17:23:27 +00:00
qiang.xue
d2d2daa9e9 swap the parameter order of createIndex/dropIndex. 2010-11-30 02:38:24 +00:00
qiang.xue
fc9b1ac227 Fixed a typo in query builder. 2010-11-29 21:41:49 +00:00
qiang.xue
bbfd0eeff3 Improved the error display in console command mode 2010-11-29 17:16:44 +00:00
mdomba
7a7714278c 2010-11-29 11:05:20 +00:00
mdomba
10fa942472 Updated missing PHPDoc @param 2010-11-29 11:03:47 +00:00
qiang.xue
fb256b4605 refactored query builder methods. 2010-11-28 19:55:05 +00:00
qiang.xue
7c2b563358 Added CDbCommand::reset(). 2010-11-28 02:55:13 +00:00
qiang.xue
3d984fbc25 * Added query builder methods for building database schema manipulation queries. 2010-11-28 02:49:35 +00:00
qiang.xue
3325e62dd5 CDbConnection::quoteColumnName and quoteTableName will properly quote table prefix and schema prefix. 2010-11-27 02:34:04 +00:00
qiang.xue
3c2077e24b * Finished query builder documentation. 2010-11-17 19:56:48 +00:00
qiang.xue
0b3883783a * Added query builder 2010-11-16 22:33:30 +00:00
qiang.xue
c1dc18f408 Added CDbCommand::bindValues() 2010-11-07 01:07:08 +00:00
alexander.makarow
48779b0e4e (Fixes issue 1629) Added logging of DB query params in DB query profiling 2010-10-28 21:44:28 +00:00