Carsten Brandt
f6530314e2
Merge pull request #1765 from yiisoft/elasticsearch-pk-refactoring
...
[WIP] Changed elasticsearch AR primary key handling
2014-01-10 15:56:22 -08:00
Alexander Makarov
c79994c773
Removed exception translation, updated translations
2014-01-09 18:03:25 +04:00
Carsten Brandt
5dca1257b2
reverted primaryKey of elasticsearch to be array again
...
meet the AR interface requirements.
2014-01-09 13:44:12 +01:00
Alexander Kochetov
a1deac81c3
\yii\db\ActiveRecord updated
2014-01-09 08:01:08 +04:00
Alexander Kochetov
fba0e04365
ActiveRecord::tableName() comment fixed
2014-01-09 07:47:39 +04:00
Alexander Kochetov
d82b38531c
DbConnection::tablePrefix default value added
2014-01-09 07:36:39 +04:00
Alexander Kochetov
dda9fec95e
ActiveRecord::tableName() hardcoded prefix fix
2014-01-09 06:59:22 +04:00
Carsten Brandt
5f3be6c7f7
default values for db\Connection username and password to null
...
fixes #1821
2014-01-08 18:57:47 +01:00
Qiang Xue
dc01411bea
Fixes #1791
2014-01-07 11:23:35 -05:00
Qiang Xue
5a703b7ae1
Further cleanup.
2014-01-07 10:06:20 -05:00
Qiang Xue
5094842370
Fixed test break.
2014-01-07 10:00:53 -05:00
Qiang Xue
9ceaf3bd1c
Fixes #1791 .
2014-01-07 09:52:07 -05:00
Qiang Xue
daf6c81f27
Fixes #1791
2014-01-07 08:58:13 -05:00
Qiang Xue
c4c328dc92
Fixes #1791 : support ON condition for relational query.
2014-01-06 23:56:58 -05:00
Qiang Xue
52c9256396
Merge pull request #1784 from yiisoft/api-doc-generator
...
api doc generator
2014-01-05 21:02:25 -08:00
Carsten Brandt
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 1e4c1eca10 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
Qiang Xue
795a09c27a
Fixes #1791 : joinWithRelation using table alias.
2014-01-05 17:42:40 -05:00
Carsten Brandt
81aea73067
finished offline template with all information
2014-01-05 21:11:41 +01:00
Qiang Xue
1654381a3a
support table aliases for ActiveQuery::joinWith().
2014-01-05 14:52:38 -05:00
Carsten Brandt
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
Qiang Xue
4f346f4be1
doc fix.
2014-01-01 20:33:52 -05:00
Carsten Brandt
ea47ce5ca2
code style fixes
2013-12-30 16:55:32 +01:00
Qiang Xue
943bf88904
doc fix.
2013-12-29 23:36:19 -05:00
Qiang Xue
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
Qiang Xue
9b1c2c8064
Fixes #1586 : QueryBuilder::buildLikeCondition() will now escape special characters and use percentage characters by default
2013-12-29 13:04:02 -05:00
Qiang Xue
cbad97c78d
change back the visibility of findTableNames to protected.
2013-12-29 09:51:36 -05:00
Qiang Xue
1e0e5f02af
Fixed DB query logging category.
2013-12-28 16:16:58 -05:00
Qiang Xue
eb4385d4c9
improved error message of calling invalid scope method.
2013-12-27 20:31:48 -05:00
Qiang Xue
4a552c88cf
Fixes #1650 : Added Connection::pdoClass.
2013-12-27 16:01:39 -05:00
Qiang Xue
fdca106ece
code style fix.
2013-12-27 15:53:45 -05:00
Mark
16801b9b3e
codestyle fix
2013-12-28 00:06:39 +04:00
Mark
6a9509ed8d
improved checkIntegrity method
2013-12-28 00:04:18 +04:00
Mark
65b543f68f
fixed bug with forgotten param, fixed behavior for one table integrity
2013-12-27 11:04:29 +04:00
Mark
e23f869c69
added postgresql features to reset seq/check integrity
2013-12-27 09:42:51 +04:00
Qiang Xue
7eccd9d926
Fixes #1641 : Added BaseActiveRecord::updateAttributes()
2013-12-26 12:31:13 -05:00
Qiang Xue
f77e3b4bba
Fixes #1611 : Added BaseActiveRecord::markAttributeDirty()
2013-12-26 09:46:02 -05:00
Qiang Xue
2d3ac6b4e2
Fixes #1638 : prevent table names from being enclosed within curly brackets twice.
2013-12-26 09:29:46 -05:00
Qiang Xue
ab05f0d791
Fixed the signature of Schema::findUniqueIndexes().
2013-12-25 20:30:50 -05:00
Carsten Brandt
795c74100d
reverted #1598 and added a test for it
2013-12-26 01:18:55 +01:00
Luciano Baraglia
166f8aa582
Fix wrong array index in unique indexes for MySql
2013-12-25 20:25:29 -03:00
Luciano Baraglia
89f0bfe100
Making accesors public
2013-12-25 18:27:54 -03:00
Luciano Baraglia
d376da57e4
Get DB unique indexes information
2013-12-25 18:08:50 -03:00
Qiang Xue
0345191245
Added ActiveQuery::innerJoinWith().
2013-12-24 21:27:13 -05:00
Qiang Xue
dc720d9bf4
more docs about joinwith()
2013-12-24 09:29:05 -05:00
Qiang Xue
4f44bb2416
Fixes #1581 : Added ActiveQuery::joinWith() to support joining with relations
2013-12-24 00:08:49 -05:00
Qiang Xue
2402d2d031
Draft implementation of ActiveQuery::joinWith().
2013-12-23 22:26:44 -05:00
Qiang Xue
d50fd7067b
Merge pull request #1603 from edin/master
...
Fixed sequence id match for postgresql
2013-12-23 17:33:26 -08:00
Edin
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
Qiang Xue
56c361bb9e
Fixed changelog.
2013-12-23 14:55:41 -05:00
Qiang Xue
55deceb061
Fixes #1076
2013-12-23 08:47:30 -05:00