Alexander Kochetov
fba0e04365
ActiveRecord::tableName() comment fixed
11 years ago
Alexander Kochetov
d82b38531c
DbConnection::tablePrefix default value added
11 years ago
Alexander Kochetov
dda9fec95e
ActiveRecord::tableName() hardcoded prefix fix
11 years ago
Carsten Brandt
5f3be6c7f7
default values for db\Connection username and password to null
...
fixes #1821
11 years ago
Qiang Xue
dc01411bea
Fixes #1791
11 years ago
Qiang Xue
5a703b7ae1
Further cleanup.
11 years ago
Qiang Xue
5094842370
Fixed test break.
11 years ago
Qiang Xue
9ceaf3bd1c
Fixes #1791 .
11 years ago
Qiang Xue
9d73048be9
Fixes #1791 .
11 years ago
Qiang Xue
daf6c81f27
Fixes #1791
11 years ago
Qiang Xue
c4c328dc92
Fixes #1791 : support ON condition for relational query.
11 years ago
Qiang Xue
795a09c27a
Fixes #1791 : joinWithRelation using table alias.
11 years ago
Carsten Brandt
81aea73067
finished offline template with all information
11 years ago
Qiang Xue
1654381a3a
support table aliases for ActiveQuery::joinWith().
11 years ago
Qiang Xue
4f346f4be1
doc fix.
11 years ago
Carsten Brandt
ea47ce5ca2
code style fixes
11 years ago
Qiang Xue
943bf88904
doc fix.
11 years ago
Qiang Xue
28dc23ddac
Fixed the issue that query cache returns the same data for the same SQL but different query methods
11 years ago
Qiang Xue
9b1c2c8064
Fixes #1586 : `QueryBuilder::buildLikeCondition()` will now escape special characters and use percentage characters by default
11 years ago
Qiang Xue
cbad97c78d
change back the visibility of findTableNames to protected.
11 years ago
Qiang Xue
1e0e5f02af
Fixed DB query logging category.
11 years ago
Qiang Xue
eb4385d4c9
improved error message of calling invalid scope method.
11 years ago
Qiang Xue
4a552c88cf
Fixes #1650 : Added Connection::pdoClass.
11 years ago
Qiang Xue
fdca106ece
code style fix.
11 years ago
Mark
16801b9b3e
codestyle fix
11 years ago
Mark
6a9509ed8d
improved checkIntegrity method
11 years ago
Mark
65b543f68f
fixed bug with forgotten param, fixed behavior for one table integrity
11 years ago
Mark
e23f869c69
added postgresql features to reset seq/check integrity
11 years ago
Qiang Xue
7eccd9d926
Fixes #1641 : Added `BaseActiveRecord::updateAttributes()`
11 years ago
Qiang Xue
f77e3b4bba
Fixes #1611 : Added `BaseActiveRecord::markAttributeDirty()`
11 years ago
Qiang Xue
2d3ac6b4e2
Fixes #1638 : prevent table names from being enclosed within curly brackets twice.
11 years ago
Qiang Xue
ab05f0d791
Fixed the signature of Schema::findUniqueIndexes().
11 years ago
Carsten Brandt
795c74100d
reverted #1598 and added a test for it
11 years ago
Luciano Baraglia
166f8aa582
Fix wrong array index in unique indexes for MySql
11 years ago
Luciano Baraglia
89f0bfe100
Making accesors public
11 years ago
Luciano Baraglia
d376da57e4
Get DB unique indexes information
11 years ago
Qiang Xue
0345191245
Added ActiveQuery::innerJoinWith().
11 years ago
Qiang Xue
dc720d9bf4
more docs about joinwith()
11 years ago
Qiang Xue
4f44bb2416
Fixes #1581 : Added `ActiveQuery::joinWith()` to support joining with relations
11 years ago
Qiang Xue
2402d2d031
Draft implementation of ActiveQuery::joinWith().
11 years ago
Edin
5e092ac619
Fixed sequence id match for postgresql
...
PgAdmin generates sequence as '"Schema"."Table_seq"'::regclass when
non public schema is used.
11 years ago
Qiang Xue
56c361bb9e
Fixed changelog.
11 years ago
Qiang Xue
55deceb061
Fixes #1076
11 years ago
Vincent
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...
11 years ago
Qiang Xue
9649a6727a
Renamed `attributeName` and `className` to `targetAttribute` and `targetClass` for `UniqueValidator` and `ExistValidator`.
...
Refactored UniqueValidator and ExistValidator.
11 years ago
Qiang Xue
d620f3152e
refactored BaseActiveRecord::isPrimaryKey()
11 years ago
Qiang Xue
d5f40b42cf
Added ActiveRecordInterface::getOldPrimaryKey().
11 years ago
Qiang Xue
42d8748e6e
Fixes #1579 : throw exception when the given AR relation name does not match in a case sensitive manner.
...
Renamed `ActiveRecord::getPopulatedRelations()` to `getRelatedRecords()`
11 years ago
Carsten Brandt
b4612637ec
make count behave like in SQL
...
also fixed count behavior according to limit and offset.
fixes #1458
11 years ago
Paul Kofmann
8c4412be50
short array syntax
11 years ago