1289 Commits (56f639358c0951b32036e91b642526b14cb97c4f)

Author SHA1 Message Date
Alexander Kartavenko 6b10bbcec2 Closes #17057. `\yii\db\mssql\Schema::findTableNames` should return quoted table names. (#17409) 5 years ago
Alexander Kartavenko eb65dba796 Fixes #17057: Fixed issues with table names that contain special characters or keywords in MSSQL 5 years ago
Brandon Kelly f2212a3183 Fix #17384: Fixed SQL error when passing `DISTINCT ON` queries 5 years ago
Sidney Lins fe3ebe2e56 Fixes #17356: MSSQL Schema was not detecting string field size 5 years ago
epifrin 8fd627c755 Added type null to @return annotation of findOne method (#17362) [skip ci] 5 years ago
Brandon Kelly 54b3d6d8ab Fixes #17344: Improved performance of `yii\db\Connection::addSelect()` 5 years ago
Brandon Kelly b638cc4a4e Fixes #17348: Improved performance of `yii\db\Connection::quoteTableName()` 5 years ago
Brandon Kelly 60702e663e Fixes #17345: Improved performance of `yii\db\Connection::quoteColumnName()` 5 years ago
Bizley 56215d58e1 Fixes #12077, #12135, #17263: Fixed PostgreSQL version of `alterColumn()` to accept properly `ColumnSchemaBuilder` definition of column 5 years ago
Albert Borsos d2c2f63686 Fixes #17127: `yii\db\ActiveRecord::findOne()` now accepts table aliases 6 years ago
Dacheng Gao 687f15fbd2 Remove extra space char in comments (#17198) [skip ci] 6 years ago
Pavel Dovlatov bdb7c64910 Update to https protocol for php.net links (#17168) [skip ci] 6 years ago
Pavel Ivanov 2da6773b68 Fixes #17089: Fixed caching of related records when `via()` using with callable 6 years ago
Carsten Brandt ed64d65886
release version 2.0.16 6 years ago
Dmytro Naumenko adf8f9a32f Fixes #15931: `yii\db\ActiveRecord::findOne()` now accepts quoted table and column names using curly and square braces respectively 6 years ago
SilverFire - Dmitry Naumenko 025dd072c6
Replaces commit dfcf037c7. The prvious idea was wrong and broke some tests 6 years ago
SilverFire - Dmitry Naumenko dfcf037c76
ActiveQuery::viaTable() now throws exception on wrongly prepared query 6 years ago
Pavel Ivanov 4333b90186 Fixes #15482: AR::find()->with() missing data when using string identifiers for relations 6 years ago
Pavel Ivanov 7ccadb4a79 Fixes #15167: Fixed loading of default value `current_timestamp()` for MariaDB >= 10.2.3 6 years ago
Dmytro Naumenko 698e45ac1e
Fixed code style 6 years ago
GHopper d02fb4e3dd Reduce the Cyclomatic Complexity level 6 years ago
GHopper a7771acd8d Add ArrayExpression support in related tables 6 years ago
Pavel Ivanov b128ec85f4 Fixes #16081: Fixed composite IN using just one column 6 years ago
Bizley 3907895324 Fixes #16897: Fixed `yii\db\sqlite\Schema` missing primary key constraint detection in case of `INTEGER PRIMARY KEY` 6 years ago
cuileon 489dd119a5 merge from yiisoft/yii2 6 years ago
Robert Korulczyk ae5dee485e Improve Query PHPDoc [skip ci]. (#16834) 6 years ago
Bizley b8c2c7fb5e Fixes #16424: `yii\db\Transaction::begin()` throws now `NotSupportedException` for nested transaction and DBMS not supporting savepoints 6 years ago
Evgeniy Moiseenko 00fe20e675 Wrong annotations for yii\db\QueryTrait::where($condition)(#16794) (#16803) [skip ci] 6 years ago
Konstantin Voloshchuk 9f383ab228 Fixes #14367: In `yii\db\mysql\QueryBuilder` added support fractional seconds for time types for MySQL >= 5.6.4 6 years ago
Carsten Brandt 682c7b4a2a
added comment about non-looping foreach 6 years ago
Marcelo de Andrade b0f2a52219 Fixes #16748: Fixed params when normalize data 6 years ago
Evgeniy Moiseenko 7119ff5756 Fixes #16151: Change of scope for method `getTableNameAndAlias()` 6 years ago
Andrey Akimov 87af257892 Fixes #5341: HasMany via two relations 6 years ago
drlibra 5ee7fabbf9 Fixes #16552: Added check in `yii\db\ActiveQuery::prepare()` to prevent populating already populated relation when another relation is requested with `via` 6 years ago
Alexander Makarov cd442339df
Revert "Fixes #16552: Added check in `yii\db\ActiveQuery::prepare()` to prevent populating already populated relation when another relation is requested with `via`" 6 years ago
drlibra f69612f792 Fixes #16552: Added check in `yii\db\ActiveQuery::prepare()` to prevent populating already populated relation when another relation is requested with `via` 6 years ago
drlibra 32c7c4161b Fixes #16192: `yii\db\Command::logQuery()` is now protected, extracted `getCacheKey()` from `queryInternal()` 6 years ago
Vladimir Reznichenko 84c55b468a [minor] SCA (#16464) 6 years ago
CedricYii 3555633223 Fixes #14289: Added `yii\db\Command::executeResetSequence()` to work with Oracle 6 years ago
drlibra 6590feef0d Fixes #16192: `yii\db\Command::logQuery()` is now protected 6 years ago
Sergey 292a545642 Fixes #16104: Fixed `yii\db\pgsql\QueryBuilder::dropIndex()` to prepend index name with schema name 6 years ago
Carsten Brandt 282152e984
Update Connection.php 6 years ago
Soul11201 e47ac0c4a4
fix bug: when use a subquery 6 years ago
Vladimir Reznichenko 6dd2aec011 [minor]: SCA (#16269) 6 years ago
Salem Ouerdani 1945dc69c7 Fixes #9133: Added `yii\behaviors\OptimisticLockBehavior` 6 years ago
Alexander Makarov cc2cac58d2
Fixed bad instnaceof check in `yii\db\Schema::getTableMetadata()` 6 years ago
Sam 84cb255aab Fixes #16245: Fixed `__isset()` in `BaseActiveRecord` not catching errors 6 years ago
vsivsivsi cb15a413a7 Fix ODBC Driver 13 for SQL Server error on null (#16039) 6 years ago
243083df 56a3d21c24 Minor refactoring of BaseActiveRecord::populateRelation() (#16161) 7 years ago
Andrey Akimov 2a3428c9e9 Fixes #15875: afterSave for new models flushes unsaved data 7 years ago