Thiago Talma
8a1bcd2775
one more example
10 years ago
Qiang Xue
2544e86d2c
Fixes #5735 : Added `yii\bootstrap\Tabs::renderTabContent` to support manually rendering tab contents
10 years ago
Alexander Makarov
99a818c0b8
Fixes #3630 : `yii\db\Command::queryInternal()` is now protected
10 years ago
Qiang Xue
5829020eff
Fixes #5223 : Query builder now supports selecting sub-queries as columns
10 years ago
Carsten Brandt
292a9ff55b
Add support for yii\db\Expression to QueryBuiler simple conditions
...
fixes #5601
10 years ago
Alexander Makarov
02622b6fe4
phpdoc fixes and additions
10 years ago
Carsten Brandt
a375a62070
bump minimum required cubrid version
...
there is no reliable way to determine the cubrid PDO extension version used
and also no reliable way to detect which combination of server and client produces wrong behavior.
By requiering 9.3 or higher in both client and server we can be sure it works.
fixes #852
10 years ago
Klimov Paul
15c8935db1
Fixed `yii\mongodb\ActiveRecord` unable to fetch 'hasMany' referred by array of `\MongoId`
10 years ago
Alexander Makarov
cba52e3c5e
Fixes #5382 : renamed "pivot table" to "junction table" since it's correct term to use
10 years ago
Carsten Brandt
4054b2196f
fixed broken links
10 years ago
Serge Postrash
5acf17e658
Fixed phpdoc for yii\db\Query [skip ci]
10 years ago
Carsten Brandt
0df9a82a7f
updated documentation and tests
...
fixes #5331
10 years ago
Qiang Xue
d2b864da84
prepare for 2.0.0-rc release.
10 years ago
Carsten Brandt
f76e767edd
added docs for #5147
10 years ago
Qiang Xue
566ed3c594
Fixes #5147 : null is not handled correctly for arbitrary operator in SQL.
10 years ago
Carsten Brandt
4772be9cc4
doc typo
...
fixes #5147
[ci skip]
10 years ago
Carsten Brandt
9df21d46f3
reverted addition of $where property
10 years ago
Carsten Brandt
222f9ddfad
added missing documentation about the NOT operator in Query
...
fixes #5147
10 years ago
Qiang Xue
613d3071a7
Fixes #5106 : Refactored query caching to not load cache component when query caching is not used at all.
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
aeaf0511d2
Fixes #3725 : Fixed the bug that the filtering condition used in relation definition was ignored when calling `ActiveRecord::unlinkAll()`
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
35b54345b5
Handling $query->joinWith called inside of other $query->joinWith within Closure (called inside Closure). Ex.: ```php $query->joinWith( [ 'rel1' => function($query) { $query->joinWith( [ 'rel2' => function($query) { // ... } ] ); } ] ); ```
10 years ago
Qiang Xue
44b5e8ef60
Fixes #4954 : MSSQL column comments are not retrieved correctly
10 years ago
Carsten Brandt
e15cfc0286
allow precision for binary type in MSSQL
...
fixes #4931
10 years ago
Carsten Brandt
73cb5f8aac
changed syntax for referencing the guide in apidoc
...
New syntax:
```
[link to guide](guide:file-name.md)
[link to guide](guide:file-name.md#subsection)
```
fixes #4719
10 years ago
Qiang Xue
212c5ee3ef
Fixes #4254 : `SqlDataProvider` does not work with Oracle and SQL Server
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
Alexander Makarov
7aed617c38
Fixes #4813 : Fixed MSSQL schema that was getting incorrect info about constraints
10 years ago
Arthur Khachaturov
7deb26f6c8
Fix PHPDoc
10 years ago
Qiang Xue
385e13978d
Fixes #4800 .
10 years ago
Qiang Xue
3f597fd45d
updated doc [skip ci]
10 years ago
Qiang Xue
3704b9191e
Fixes #4697 : MSSQL query builder does not work for newer MSSQL versions when LIMIT is used without ORDER BY
10 years ago
Qiang Xue
7cf358af03
Fixes #4607 : AR model will throw an exception if it does not have a primary key to avoid updating/deleting data massively
10 years ago
Carsten Brandt
f099616967
improved IDE autocompletion for AR::find()
...
[ci skip]
10 years ago
Carsten Brandt
25bf486b7f
save some function calls on AR insert
10 years ago
Qiang Xue
5fe6c55d6b
Fixes #4586 : Signed bigint and unsigned int will be converted into integers when they are loaded from DB by AR
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
mcd.php
20774165bc
Fixes #4644 : Added `\yii\db\Schema::createColumnSchema()` to be able to customize column schema used
10 years ago
Alexander Makarov
2a8ca600c5
Simplified parameter check for buildSimpleCondition()
10 years ago
Alexander Makarov
47ee0b87d4
Removed unnecessary code
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
RichWeber
92cd13a913
pull origin
10 years ago
slavcodev
fa8e576251
Refactored ActiveQuery::one() to be consistent with all() creation
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Carsten Brandt
1f31f27787
phpdoc
10 years ago
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
10 years ago