SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
Qiang Xue
|
e5031dfd5f
|
test break fix.
|
11 years ago |
Qiang Xue
|
9ff8b0f903
|
Fixes #2571: Fixed the bug that batchInsert will fail for SQLite if the values contain null or boolean false;
Fixes #2683: Fixed the bug that batchInsert will fail for MySQL if the values contain boolean false.
|
11 years ago |
Qiang Xue
|
bcf5b4644e
|
Fixes #2687: ActiveQuery::joinWith() has problem when the query is used twice.
|
11 years ago |
Luciano Baraglia
|
269d1303a9
|
Code style fixes
|
11 years ago |
AlexGx
|
32d0768919
|
style fixes with phpcs:yii2
|
11 years ago |
Alexander Mohorev
|
95ea1c20bb
|
code style. FOREACH
|
11 years ago |
Alexander Mohorev
|
c7e8d8b900
|
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
|
11 years ago |
Qiang Xue
|
b9743ef65b
|
fixed test break.
|
11 years ago |
Qiang Xue
|
a2edf01c85
|
Delay joinWith till createCommand to correctly combine relation condition with primary condition.
|
11 years ago |
Carsten Brandt
|
c21e01930e
|
added unit test for #2568
|
11 years ago |
Carsten Brandt
|
683a46d9ee
|
test for deeply nested relation
close #2543
|
11 years ago |
Qiang Xue
|
c92a260a3d
|
Fixes #2415: Added support for inverse relations
|
11 years ago |
Qiang Xue
|
9a068f50f4
|
Refactored batch query.
|
11 years ago |
Qiang Xue
|
3a930bd675
|
Finished batch query feature.
|
11 years ago |
Qiang Xue
|
1571c72251
|
Fixes #2409: Added support for fetching data from database in batches
|
11 years ago |
Alexander Makarov
|
4a201c7ad5
|
Removed unused variables
|
11 years ago |
Alexander Makarov
|
dd26d39dd8
|
Removed unused namespace imports
|
11 years ago |
Anatoliy Miller
|
9c97fe11cb
|
issue #1659: released buildLimitOffset() for MSSQL
|
11 years ago |
Ivan Pomortsev
|
9d986daf4f
|
Update QueryBuilderTest.php
Comment test because it proceed an errors when tries to run at mssql and other DBMS.
|
11 years ago |
Ivan Pomortsev
|
dd79325a0a
|
Update QueryBuilderTest.php
Add test for UNION/UNION ALL function.
It could be useful to use "phpunit --group=db --filter testBuildUnion" command for run it.
|
11 years ago |
Luciano Baraglia
|
7d33a5d3b5
|
Some Code style fixes
|
11 years ago |
Qiang Xue
|
442393dac9
|
removed failing tests.
|
11 years ago |
Qiang Xue
|
7d08a09620
|
Fixes #1809: Added support for building "EXISTS" and "NOT EXISTS" query conditions
|
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 |
Qiang Xue
|
cbad97c78d
|
change back the visibility of findTableNames to protected.
|
11 years ago |
Carsten Brandt
|
795c74100d
|
reverted #1598 and added a test for it
|
11 years ago |
Qiang Xue
|
0345191245
|
Added ActiveQuery::innerJoinWith().
|
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 |
Qiang Xue
|
164ddf98b0
|
Fixed test break.
|
11 years ago |
Qiang Xue
|
b868e91fee
|
Fixed test break.
|
11 years ago |
Qiang Xue
|
0390a99833
|
Use backquotes to quote column and table names for sqlite (related with #1318)
|
11 years ago |
Carsten Brandt
|
643593737d
|
added test case for #1310
|
11 years ago |
Carsten Brandt
|
f017ba357f
|
refactored unit tests. put common AR tests in trait
|
11 years ago |
John Was
|
e9fcde3264
|
support for batch insert in sqlite older than 3.7.11
|
11 years ago |
Carsten Brandt
|
c6347d6d01
|
polished elasticsearch AR api, added mget and fixed AR::equals()
|
11 years ago |
Carsten Brandt
|
77840adf65
|
Made ActiveRecord::isPrimaryKey() public
+ added tests and fixed behavior
|
11 years ago |
Carsten Brandt
|
9448c3d471
|
added unit tests for active dataprovider and fixed query tests
|
11 years ago |
slavcodev
|
b0b1c27c85
|
Fix phpDoc var tag format
|
11 years ago |
Qiang Xue
|
9862ee35b2
|
Fixes #1115: fixed the issue with PDO boolean value binding with pgsql
|
11 years ago |
Carsten Brandt
|
433958b40c
|
removed sqlite specific test as it is the same as base AR test now
|
11 years ago |
Qiang Xue
|
26c7f6d62f
|
Fixed sqlite column type detection bug.
|
11 years ago |
Carsten Brandt
|
c8c377e698
|
skip test on postgres
|
11 years ago |
Carsten Brandt
|
ee1689da03
|
some more on active record unit tests and sqlite
sqlite does not seem to allow using boolean values in select query
|
11 years ago |
Carsten Brandt
|
937a55f4fa
|
fixed unit test for sqlite
|
11 years ago |
Carsten Brandt
|
f153ce443a
|
reverted non working fix for #1115
|
11 years ago |
Carsten Brandt
|
e5a1244e0f
|
moved unit test from cubrid to general
should be tested for all dbms not only cubrid even if the problem may
not exist in all of them it is good to verify that.
|
11 years ago |
Carsten Brandt
|
34945b0b69
|
added unit test to verify storing of null values
http://www.yiiframework.com/forum/index.php/topic/48359-inserting-nulls/page__view__findpost__p__226019
|
11 years ago |