Dmitry Naumenko
|
de1750228d
|
Fixes #13879: Added upsert support for `yii\db\QueryBuilder` and `yii\db\Command`
|
7 years ago |
Zhukov Roman
|
40b038379f
|
Fixes #13019: Support JSON in SchemaBuilderTrait
|
7 years ago |
SilverFire - Dmitry Naumenko
|
786a733502
|
Moved ExpressionBuilder creation logic out of QueryBuilder::buildExpression() to a separate method
|
7 years ago |
SilverFire - Dmitry Naumenko
|
b139e865b7
|
Fixed PHPDocs. Resolves discussion d16586334d (commitcomment-27343531)
|
7 years ago |
Alexander Makarov
|
c7e55450dd
|
Reverted #14593
(reverted from commit a42bbd8f01 )
|
7 years ago |
Alexander Makarov
|
a42bbd8f01
|
Fixes #14593: Added `yii\db\Command::EVENT_AFTER_EXECUTE` event that is triggered after command is executed
|
7 years ago |
Dmitry Naumenko
|
d16586334d
|
Fixes #7640: Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
|
7 years ago |
wapmorgan
|
5afe0a0d36
|
Fixes #15047: `yii\db\Query::select()` and `yii\db\Query::addSelect()` now check for duplicate column names
|
7 years ago |
Alexander Makarov
|
b979b2aa88
|
Fixes #15355: Additional test and fix
|
7 years ago |
hiscaler
|
5483a2ef6c
|
Fixes #15076: Perfect `yii\db\QueryBuilder` buildColumns function
|
7 years ago |
Гордиенко Владислав Юрьевич
|
1a1fb49426
|
Fixes #15522: Fixed `yii\db\ActiveRecord::refresh()` method does not use an alias in the condition
|
7 years ago |
Klimov Paul
|
65f6b59b35
|
`@inheritdoc` notation changed
|
7 years ago |
Klimov Paul
|
b9cbc56330
|
Fixed `yii\db\ActiveRecord::with()` unable to use relation defined via attached behavior in case `asArray` is enabled
|
7 years ago |
Chris Harris
|
a2a79a70eb
|
Fixes #13814: MySQL unique index names can now contain spaces
|
7 years ago |
Гордиенко Владислав Юрьевич
|
8d50844024
|
#15426: Added ability to create and drop database views
|
7 years ago |
hiscaler
|
d32b80eec9
|
Fixes #15122: Fixed `yii\db\Command::getRawSql()` to properly replace expressions
|
7 years ago |
Vovan-VE
|
00afe6a4b8
|
Fix: Query::each() without `indexBy()` zero based keys
|
7 years ago |
Alexander
|
f8990ac97a
|
Fixes #15353: Remove side effect of ActiveQuery::getTablesUsedInFrom() introduced in 2.0.13
|
7 years ago |
Alexander Makarov
|
c501e3fde8
|
Revert "Fixed QueryBuilder docs (#15427) [skip ci]" (#15431)
This reverts commit 7d1310ace7 .
|
7 years ago |
Alec Smythe
|
7d1310ace7
|
Fixed QueryBuilder docs (#15427) [skip ci]
documentation is wrong ... smallint() doesn't work, but smallinteger() does
|
7 years ago |
Sergey Makinen
|
a3a3d1dcef
|
Document callable params [skip ci]
|
7 years ago |
Sergey Makinen
|
cc2e28bd0e
|
Add transaction/retry support for yii\db\Command
|
7 years ago |
SilverFire - Dmitry Naumenko
|
8f2cd050af
|
Fixed Query not to dig inside Expression
|
7 years ago |
Alexander Makarov
|
7e8a4c8629
|
Minor adjustments
|
7 years ago |
Alexander Makarov
|
ba931fa21d
|
Fixes #15356: Fixed multiple bugs in `yii\db\Query::getTablesUsedInFrom()`
|
7 years ago |
vladis
|
6c731d46d0
|
#15356: Initial version of `yii\db\Query::getTablesUsedInFrom()` fix and tests
|
7 years ago |
rossoneri
|
605478c043
|
Fixes #14157: Add support for loading default value `CURRENT_TIMESTAMP` of MySQL `datetime` field
|
7 years ago |
Sergey Makinen
|
315855f7f5
|
Fixes #15357: Added multi statement support for `yii\db\sqlite\Command`
|
7 years ago |
Chen Kui
|
04891af00a
|
Removed confusing comment about event triggering from BaseActiveRecord::init() (#14303) [skip ci]
|
7 years ago |
Гордиенко Владислав Юрьевич
|
dc019856b7
|
Fixes #15355: Fixed `yii\db\Query::from()` does not work with `yii\db\Expression`
|
7 years ago |
Ankit Padia
|
9944d7a49f
|
Fixed wrong description for param $table in addCommentOnTable() (#15387) [skip ci]
|
7 years ago |
Vladimir Reznichenko
|
185209957e
|
Fixes #15270: Resolved potential race conditions when writing generated php-files
|
7 years ago |
Sergey Makinen
|
b7d5393a08
|
Fixes #15194: Fixed `yii\db\QueryBuilder::insert()` to preserve passed params when building a `INSERT INTO ... SELECT` query for MSSQL, PostgreSQL and SQLite
|
7 years ago |
Carsten Brandt
|
7904bc2629
|
added note to QueryInterface::where()
|
7 years ago |
Sergey Makinen
|
85b65c889a
|
Fixes #15117: Fixed DB schema cache did not honor table prefixes
|
7 years ago |
Sergey Makinen
|
4e176ca325
|
Fixes #15108: Fixed `yii\db\Schema::getSchemaNames()` for MSSQL and added tests for all DBMSes
|
7 years ago |
Alexander Makarov
|
2d672b6722
|
release version 2.0.13
|
7 years ago |
Alexander Makarov
|
fb23b0d0ea
|
Code style fixes
|
7 years ago |
Carsten Brandt
|
93bbf5b39d
|
Fixes #15015: Added `StringHelper::floatToString()` to savely cast float values independent of the locale, also fixes some places in the framework that use it now
|
7 years ago |
Pavel Dovlatov
|
6330a2b779
|
Small phpdoc fix in `\yii\db\QueryTrait::emulateExecution()` [skip ci] (#15021)
|
7 years ago |
Dmitry Naumenko
|
7e7faeebd1
|
Fixed excess escaping in Command::batchInsert() (#13236)
|
7 years ago |
Nelson J Morais
|
980cfde0f1
|
Fixes #14877: Disabled profiling on connection opening when profiling is disabled
|
7 years ago |
Dmitry Naumenko
|
64d8af61a6
|
Fixes for PHP 7.2 compatibility (#14959)
|
7 years ago |
Dmitry Kulikov
|
1e0157f0ac
|
Fixes #7316: Documentation for ActiveRelationTrait::inverseOf() [skip ci] (#14892)
|
7 years ago |
Alexander Makarov
|
1f24fd35b9
|
Fixes #14910: adjusted safeUp()/safeDown() docs [skip ci]
|
7 years ago |
santilin
|
6eae7fba59
|
Fixed typo: an => a in batchInsert [skip ci]
|
7 years ago |
Michael Härtl
|
5522d1909c
|
Clarify how joinWith()/innerJoinWith() deals with eager loading [skip ci]
|
7 years ago |
SilverFire - Dmitry Naumenko
|
f9fd4da8de
|
Fixed MySQL 5.7 compatibility
’’’
General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column information_schema.kcu.ORDINAL_POSITION
’’’
|
7 years ago |
SilverFire - Dmitry Naumenko
|
5aedb9e040
|
Fixed typo in PHPDocs
|
7 years ago |
Gediminas Šedbaras
|
4c61d96786
|
Corrected return type of BaseActiveRecord::findOne (#14798)
|
7 years ago |