5dca1257b2
reverted primaryKey of elasticsearch to be array again
...
meet the AR interface requirements.
2014-01-09 13:44:12 +01:00
a7b852fcc3
Changed elasticsearch AR primary key handling
...
now supports mapped primary key when _id is part of source with an
alias.
2014-01-04 04:26:50 +01: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
8c4412be50
short array syntax
2013-12-18 14:05:00 +01:00
7a81110f6b
make ActiveRelation reusable
...
fixes #1560
2013-12-17 17:01:01 +01:00
b2d9166927
refactored scalar query functions to share common code
2013-12-17 16:14:27 +01:00
124a73a598
make Query reuseable
...
fixes #1545
2013-12-17 15:51:27 +01:00
2febbebb44
fixed params in Query to allow execution twice
...
fixes #1545
2013-12-17 13:19:54 +01:00
454174a688
added NOT operator for db, elasticsearch, redis
...
issue #1523
2013-12-17 01:49:10 +01:00
43f19e8aee
use andWhere() in AR::find() to work properly with default scope
...
fixes #1469
2013-12-12 12:07:28 +01:00
8b375c3580
clean up oci driver.
2013-12-09 23:11:56 -05:00
7eabab0629
Merge pull request #1406 from p0larbeer/master
...
DB Schema OCI
2013-12-09 18:22:27 -08:00
e2b4708bbd
added support for updateCounters to elasticsearch
...
issue #1313
2013-12-09 14:42:28 +01:00
d30aa3efef
Coding style PSR-2
2013-12-09 10:38:08 +04:00
1f5f19df13
Fixes #1457 : support using AR relations as input.
2013-12-07 18:16:56 -05:00
a5188f1fbc
Fixes #1457 : support string representation of AR.
2013-12-07 12:30:09 -05:00