Qiang Xue
|
581aad8e22
|
Fixed test break.
|
11 years ago |
Carsten Brandt
|
1a3accb6cb
|
removed duplicated joins when using joinWith and via relations
fixes #2650
|
11 years ago |
Qiang Xue
|
0fa19291f1
|
refactored filterWhere().
|
11 years ago |
Carsten Brandt
|
03e208e59d
|
removed wrong test
|
11 years ago |
Carsten Brandt
|
c572c23c2f
|
adjusted tests
|
11 years ago |
Carsten Brandt
|
96f1c4c10b
|
renamed Query::filter() to Query::filterWhere()
|
11 years ago |
Alexander Makarov
|
06fdb79730
|
Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query
|
11 years ago |
Qiang Xue
|
f7a6cb9f7a
|
Refactored AR tests.
|
11 years ago |
Alexander Makarov
|
ab799d8ea9
|
Fixes #2911: Removed `tbl_` default for table prefix
|
11 years ago |
Alexander Makarov
|
8cd247730a
|
Query::filter() adjustments
|
11 years ago |
Alexander Makarov
|
3c1a8141fd
|
fixes #2002
|
11 years ago |
Qiang Xue
|
636042b9b3
|
Fixed test break.
|
11 years ago |
Qiang Xue
|
39667aa6b7
|
Fixed activequery select issue.
|
11 years ago |
Qiang Xue
|
bc378d1cae
|
properly quote table names for join().
|
11 years ago |
Qiang Xue
|
21bc29560c
|
Fixed test break.
|
11 years ago |
Qiang Xue
|
78136d4278
|
Fixes #2880: filterByModels() should prefix key columns in a join query.
|
11 years ago |
Alexander Makarov
|
19327ebd14
|
Added tests for Query::filter()
|
11 years ago |
Alexander Makarov
|
af030c5f5b
|
Added $skipIfSet to ActiveRecord::loadDefaultValues
|
11 years ago |
Alexander Makarov
|
f40011abc4
|
Fixed CubridCommandTest::testBindParamValue
|
11 years ago |
Alexander Makarov
|
aece6d309e
|
Adjusted test for cubrid
|
11 years ago |
Alexander Makarov
|
5c3e4fa4ba
|
Adjusted unit tests, added description to docs
|
11 years ago |
Alexander Makarov
|
b66427f8c7
|
Fixes #2726: ActiveRecord now fills default values on creating new instance of the model if defaults are available from DB schema
|
11 years ago |
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 |