Alexander Mohorev
bb8550886e
PHP type casting
2014-10-25 15:30:03 +03:00
Carsten Brandt
1feb09b6ff
refactored querybuilder test to reuse quote replacement
...
fixes #5652
2014-10-19 23:34:59 +02:00
Qiang Xue
5829020eff
Fixes #5223 : Query builder now supports selecting sub-queries as columns
2014-10-19 10:58:49 -04:00
Carsten Brandt
292a9ff55b
Add support for yii\db\Expression to QueryBuiler simple conditions
...
fixes #5601
2014-10-17 13:32:54 +02:00
Alexander Makarov
c7a7a312e6
Fixed schema cache test
2014-10-15 12:22:44 +04:00
Carsten Brandt
1b4d894c9d
created test for #5341
2014-10-03 23:16:58 +02:00
Carsten Brandt
0df9a82a7f
updated documentation and tests
...
fixes #5331
2014-10-03 15:25:55 +02:00
Qiang Xue
aa8c013ebf
Fixes #3197 : Using ActiveQuery::indexBy() may cause relational AR queries to generate incorrect relational results
2014-09-23 10:29:11 -04:00
Qiang Xue
b9c97ff2aa
Fixes #4938 : When yii\db\ActiveQuery is used to build sub-queries, its WHERE clause is not correctly generated
2014-09-12 16:46:12 -04:00
Qiang Xue
2150fa3239
Fixes #4970 : joinWith() called by a relation was ignored by yii\db\ActiveQuery
2014-09-10 15:00:15 -04:00
Stephen Seliuk
70ed5d5c01
Test for fix
2014-09-10 14:49:12 -04:00
Qiang Xue
a5b06b3468
Mark tests with problematic DBMS as skipped.
2014-09-06 20:22:28 -04:00
Carsten Brandt
78b5c7db66
fixed boolean handling for PostgreSQL
...
- do not allow boolean values for integer columns
- use native boolean type with boolean values
- removed workaround that turned out to be wrong when schema and values
are used correctly. Workaround resulted from wrong usage of boolean
values before.
fixes #4672
2014-08-28 11:20:17 +02:00
Carsten Brandt
cc1247f399
fixed HHVM test break
2014-08-15 16:22:59 +02:00
Carsten Brandt
3a4b32c4c1
fixed cubrid tests
2014-08-13 13:19:28 +02:00
Carsten Brandt
c4dc9470be
created a test case to verify #4682
2014-08-13 12:45:20 +02:00
Carsten Brandt
9d4e3612e0
fixed test break
2014-08-12 12:51:24 +02:00
Carsten Brandt
3b665fe3c4
improved unit test SKIP detection
...
issue #4687
2014-08-12 12:10:19 +02:00
Carsten Brandt
c6274acf6c
ensure postgres boolean values are handled correctly
...
also fixed an issue with default value loading of bool columns.
fixes #3489 , fixes #4085 , fixes #3920
related to #4672
2014-08-12 02:19:53 +02:00
Carsten Brandt
92d65ab78b
fix issue with postgreSQL and batch inserting boolean values
...
fixes #4654
2014-08-12 01:43:49 +02:00
Nikitin Vitaly
f1dd83e2a9
Added test that are making sure batchInsert boolean values in PostgreSQL isn't failing with errors
...
close #4655
2014-08-12 00:51:11 +02:00
Alexander Makarov
b656137541
Added support for arbitrary operators to Query::filterWhere, added support for arbitrary operators to Sphinx extension
2014-08-01 21:11:24 +04:00
Alexander Makarov
c1cf48cf5b
Fixes #2315 : Any operator now could be used with yii\db\Query::->where() operand format
2014-08-01 11:37:05 +04:00
Qiang Xue
a3e2b94adf
Fixes #3611 : Refactored query caching.
2014-07-20 20:59:38 -04:00
Qiang Xue
a082fd9140
Added test.
2014-07-12 12:53:12 -04:00
Qiang Xue
65987f62ae
test WIP
2014-07-12 10:38:51 -04:00
Alexander Makarov
608e9012fb
Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance
2014-07-10 20:50:07 +04:00
Alexander Makarov
56a7ec7618
Passed transaction as callback argument for Connection::transaction() method
2014-07-10 17:57:52 +04:00
Alexander Makarov
a0051820a7
Fixed tests
2014-07-10 17:43:15 +04:00
Ragazzo
e5195937e4
Fixes #3384 : Added callback-style transactions
2014-07-10 17:24:10 +04:00
Qiang Xue
09b00c5cd0
Reverted #4098 .
2014-06-28 11:59:58 -04:00
Qiang Xue
dfadb6a917
Fixes #4098 : yii\db\Query::addSelect() should include * when it is called the first time
2014-06-28 09:46:56 -04:00
Qiang Xue
1b4a9b62cd
Fixes #3568 : When the primary query sets asArray, it is not respected by the via relational query
2014-06-25 23:35:02 -04:00
Carsten Brandt
df6a9a08fe
fixed typo
2014-06-26 02:52:29 +02:00
Carsten Brandt
d4738b03a5
fixed test break
2014-06-26 01:39:10 +02:00
Carsten Brandt
574f67feff
fixed test break
2014-06-26 01:35:56 +02:00
Carsten Brandt
cd5bdd90d2
fixed postgres tests
2014-06-25 22:54:39 +02:00
Carsten Brandt
1391253a58
fixed postgres default value parsing
2014-06-25 04:09:03 +02:00
Carsten Brandt
651e6a3feb
added support for BIT default values
...
fixes #422
2014-06-25 03:37:39 +02:00
Carsten Brandt
4f95fcd91f
added unit tests for schema detection
...
fixed some issues with schema detection
2014-06-25 03:09:28 +02:00
Carsten Brandt
cb87d7be84
fixed typo and test break
2014-06-24 08:40:36 +02:00
Carsten Brandt
7a87a13f37
unit test for postgres transaction
2014-06-24 03:14:51 +02:00
Carsten Brandt
cc8a8360cb
added unit test and notes about dbms specific settings
2014-06-24 03:11:34 +02:00
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
Carsten Brandt
0208f289c3
fixed test breaks
2014-06-04 19:12:18 +02:00
Carsten Brandt
d92281dcda
refactored ActiveRecord::unlinkAll() to work will noSQL
...
issue #3520
2014-06-04 14:28:57 +02:00
Alexander Makarov
0003b10b02
ElasticSearch tests fix
2014-06-02 18:14:02 +04:00
Alexander Makarov
4624793954
Merge branch 'unlinkAll' of github.com:NmDimas/yii2 into NmDimas-unlinkAll
...
Conflicts:
framework/CHANGELOG.md
2014-06-02 17:38:15 +04:00
NmDimas
95d2b29bff
Change unit test to Unlink and add test to unlinkAll
2014-06-01 22:40:05 +03:00
Carsten Brandt
c6201fb5ca
fixed cubrid test case
2014-05-26 13:43:42 +02:00