d82b38531c
DbConnection::tablePrefix default value added
2014-01-09 07:36:39 +04:00
dda9fec95e
ActiveRecord::tableName() hardcoded prefix fix
2014-01-09 06:59:22 +04:00
5f3be6c7f7
default values for db\Connection username and password to null
...
fixes #1821
2014-01-08 18:57:47 +01:00
dc01411bea
Fixes #1791
2014-01-07 11:23:35 -05:00
5a703b7ae1
Further cleanup.
2014-01-07 10:06:20 -05:00
5094842370
Fixed test break.
2014-01-07 10:00:53 -05:00
9ceaf3bd1c
Fixes #1791 .
2014-01-07 09:52:07 -05:00
daf6c81f27
Fixes #1791
2014-01-07 08:58:13 -05:00
c4c328dc92
Fixes #1791 : support ON condition for relational query.
2014-01-06 23:56:58 -05:00
52c9256396
Merge pull request #1784 from yiisoft/api-doc-generator
...
api doc generator
2014-01-05 21:02:25 -08:00
c02a60018f
Merge branch 'master' into api-doc-generator
...
* master: (27 commits)
fixed div/0 issue in console progress bar
console HelpController use correct script name
support table aliases for ActiveQuery::joinWith().
guides fixed/improved
CS fix
improved fixture controller
Added back border to debugger toolbar.
#1788 info about retaining the default scenario
fixes #1606
Default name and title added to GitHub auth client.
added classes to grid, list and detail view
fixed basic app travis
debugging travis
debugging travis
added debug toolbar background to have line separators
fixed paths in travis.yml
reverted 1e4c1eca1077ab23e7d00524b54f09f9158b3617 to get a working debug toolbar
fixed issue with too long th columns in debugger
enabled acceptance tests for basic application
run basic app functional tests within the main repo test chain
...
2014-01-06 00:31:02 +01:00
795a09c27a
Fixes #1791 : joinWithRelation using table alias.
2014-01-05 17:42:40 -05:00
81aea73067
finished offline template with all information
2014-01-05 21:11:41 +01:00
1654381a3a
support table aliases for ActiveQuery::joinWith().
2014-01-05 14:52:38 -05:00
4f346f4be1
doc fix.
2014-01-01 20:33:52 -05:00
ea47ce5ca2
code style fixes
2013-12-30 16:55:32 +01:00
943bf88904
doc fix.
2013-12-29 23:36:19 -05:00
28dc23ddac
Fixed the issue that query cache returns the same data for the same SQL but different query methods
2013-12-29 14:25:10 -05:00
9b1c2c8064
Fixes #1586 : QueryBuilder::buildLikeCondition()
will now escape special characters and use percentage characters by default
2013-12-29 13:04:02 -05:00
cbad97c78d
change back the visibility of findTableNames to protected.
2013-12-29 09:51:36 -05:00
1e0e5f02af
Fixed DB query logging category.
2013-12-28 16:16:58 -05:00
eb4385d4c9
improved error message of calling invalid scope method.
2013-12-27 20:31:48 -05:00
4a552c88cf
Fixes #1650 : Added Connection::pdoClass.
2013-12-27 16:01:39 -05:00
fdca106ece
code style fix.
2013-12-27 15:53:45 -05:00
16801b9b3e
codestyle fix
2013-12-28 00:06:39 +04:00
6a9509ed8d
improved checkIntegrity method
2013-12-28 00:04:18 +04:00
65b543f68f
fixed bug with forgotten param, fixed behavior for one table integrity
2013-12-27 11:04:29 +04:00
e23f869c69
added postgresql features to reset seq/check integrity
2013-12-27 09:42:51 +04:00
7eccd9d926
Fixes #1641 : Added BaseActiveRecord::updateAttributes()
2013-12-26 12:31:13 -05:00
f77e3b4bba
Fixes #1611 : Added BaseActiveRecord::markAttributeDirty()
2013-12-26 09:46:02 -05:00
2d3ac6b4e2
Fixes #1638 : prevent table names from being enclosed within curly brackets twice.
2013-12-26 09:29:46 -05:00
ab05f0d791
Fixed the signature of Schema::findUniqueIndexes().
2013-12-25 20:30:50 -05:00
795c74100d
reverted #1598 and added a test for it
2013-12-26 01:18:55 +01:00
166f8aa582
Fix wrong array index in unique indexes for MySql
2013-12-25 20:25:29 -03:00
89f0bfe100
Making accesors public
2013-12-25 18:27:54 -03:00
d376da57e4
Get DB unique indexes information
2013-12-25 18:08:50 -03:00
0345191245
Added ActiveQuery::innerJoinWith().
2013-12-24 21:27:13 -05:00
dc720d9bf4
more docs about joinwith()
2013-12-24 09:29:05 -05:00
4f44bb2416
Fixes #1581 : Added ActiveQuery::joinWith()
to support joining with relations
2013-12-24 00:08:49 -05:00
2402d2d031
Draft implementation of ActiveQuery::joinWith().
2013-12-23 22:26:44 -05:00
d50fd7067b
Merge pull request #1603 from edin/master
...
Fixed sequence id match for postgresql
2013-12-23 17:33:26 -08:00
5e092ac619
Fixed sequence id match for postgresql
...
PgAdmin generates sequence as '"Schema"."Table_seq"'::regclass when
non public schema is used.
2013-12-24 02:01:54 +01:00
56c361bb9e
Fixed changelog.
2013-12-23 14:55:41 -05:00
55deceb061
Fixes #1076
2013-12-23 08:47:30 -05:00
488918d03c
Refinement in comments
...
I checked this using XDebug, and the function actually returns null (which is something different than false). I assume it is the comment that should be changed, and not the code itself...
2013-12-23 12:00:12 +01:00
9649a6727a
Renamed attributeName
and className
to targetAttribute
and targetClass
for UniqueValidator
and ExistValidator
.
...
Refactored UniqueValidator and ExistValidator.
2013-12-22 16:40:51 -05:00
d620f3152e
refactored BaseActiveRecord::isPrimaryKey()
2013-12-22 10:19:49 -05:00
d5f40b42cf
Added ActiveRecordInterface::getOldPrimaryKey().
2013-12-22 10:02:00 -05:00
42d8748e6e
Fixes #1579 : throw exception when the given AR relation name does not match in a case sensitive manner.
...
Renamed `ActiveRecord::getPopulatedRelations()` to `getRelatedRecords()`
2013-12-21 23:26:35 -05:00
b4612637ec
make count behave like in SQL
...
also fixed count behavior according to limit and offset.
fixes #1458
2013-12-18 17:22:56 +01:00