Carsten Brandt
1b4d894c9d
created test for #5341
10 years ago
Carsten Brandt
0df9a82a7f
updated documentation and tests
...
fixes #5331
10 years ago
Qiang Xue
aa8c013ebf
Fixes #3197 : Using `ActiveQuery::indexBy()` may cause relational AR queries to generate incorrect relational results
10 years ago
Qiang Xue
b9c97ff2aa
Fixes #4938 : When `yii\db\ActiveQuery` is used to build sub-queries, its WHERE clause is not correctly generated
10 years ago
Qiang Xue
2150fa3239
Fixes #4970 : `joinWith()` called by a relation was ignored by `yii\db\ActiveQuery`
10 years ago
Stephen Seliuk
70ed5d5c01
Test for fix
10 years ago
Qiang Xue
a5b06b3468
Mark tests with problematic DBMS as skipped.
10 years ago
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
10 years ago
Carsten Brandt
cc1247f399
fixed HHVM test break
10 years ago
Carsten Brandt
3a4b32c4c1
fixed cubrid tests
10 years ago
Carsten Brandt
c4dc9470be
created a test case to verify #4682
10 years ago
Carsten Brandt
9d4e3612e0
fixed test break
10 years ago
Carsten Brandt
3b665fe3c4
improved unit test SKIP detection
...
issue #4687
10 years ago
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
10 years ago
Carsten Brandt
92d65ab78b
fix issue with postgreSQL and batch inserting boolean values
...
fixes #4654
10 years ago
Nikitin Vitaly
f1dd83e2a9
Added test that are making sure batchInsert boolean values in PostgreSQL isn't failing with errors
...
close #4655
10 years ago
Alexander Makarov
b656137541
Added support for arbitrary operators to Query::filterWhere, added support for arbitrary operators to Sphinx extension
10 years ago
Alexander Makarov
c1cf48cf5b
Fixes #2315 : Any operator now could be used with `yii\db\Query::->where()` operand format
10 years ago
Qiang Xue
a3e2b94adf
Fixes #3611 : Refactored query caching.
10 years ago
Qiang Xue
a082fd9140
Added test.
10 years ago
Qiang Xue
65987f62ae
test WIP
10 years ago
Alexander Makarov
608e9012fb
Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance
10 years ago
Alexander Makarov
56a7ec7618
Passed transaction as callback argument for Connection::transaction() method
10 years ago
Alexander Makarov
a0051820a7
Fixed tests
10 years ago
Ragazzo
e5195937e4
Fixes #3384 : Added callback-style transactions
10 years ago
Qiang Xue
09b00c5cd0
Reverted #4098 .
10 years ago
Qiang Xue
dfadb6a917
Fixes #4098 : `yii\db\Query::addSelect()` should include `*` when it is called the first time
10 years ago
Qiang Xue
1b4a9b62cd
Fixes #3568 : When the primary query sets `asArray`, it is not respected by the `via` relational query
10 years ago
Carsten Brandt
df6a9a08fe
fixed typo
10 years ago
Carsten Brandt
d4738b03a5
fixed test break
10 years ago
Carsten Brandt
574f67feff
fixed test break
10 years ago
Carsten Brandt
cd5bdd90d2
fixed postgres tests
10 years ago
Carsten Brandt
1391253a58
fixed postgres default value parsing
10 years ago
Carsten Brandt
651e6a3feb
added support for BIT default values
...
fixes #422
10 years ago
Carsten Brandt
4f95fcd91f
added unit tests for schema detection
...
fixed some issues with schema detection
10 years ago
Carsten Brandt
cb87d7be84
fixed typo and test break
10 years ago
Carsten Brandt
7a87a13f37
unit test for postgres transaction
10 years ago
Carsten Brandt
cc8a8360cb
added unit test and notes about dbms specific settings
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Carsten Brandt
0208f289c3
fixed test breaks
10 years ago
Carsten Brandt
d92281dcda
refactored ActiveRecord::unlinkAll() to work will noSQL
...
issue #3520
10 years ago
Alexander Makarov
0003b10b02
ElasticSearch tests fix
10 years ago
NmDimas
95d2b29bff
Change unit test to Unlink and add test to unlinkAll
10 years ago
Carsten Brandt
c6201fb5ca
fixed cubrid test case
11 years ago
Carsten Brandt
d1a3d40014
added test case to acually create cols with virtual type
...
verify issue #3473
11 years ago
Qiang Xue
3411504508
Revert "Fixed test break."
...
This reverts commit 70b57766b1
.
11 years ago
Qiang Xue
70b57766b1
Fixed test break.
11 years ago
Alexander Makarov
a17e5582cd
Marked part of PostgreSQL test as incomplete
11 years ago
Alexander Makarov
905e39ede9
RBAC migration is now aware of custom table names, speeded up RBAC tests
11 years ago
Alexander Makarov
48dbde3911
Fixed PostgreSQL test
11 years ago