Carsten Brandt
be658f82bf
release version 2.0.12
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
leandrogehlen
17a1d91e4a
Allows override query relation in descendant class
...
fixes #13441
close #13642
7 years ago
Carsten Brandt
6e7ea782c0
fix cloning of DB connection for sqlite in-memory db
...
fixes #14131
close #14232
7 years ago
viwek
49ab20139c
Inserted missing * on line 972 ( #14224 ) [skip ci]
7 years ago
Alex-Code
7c6620a65f
Fixes #13846 : Fixed `Query::count()` issue with `orderBy`
7 years ago
Alexander Makarov
9b8b965fcb
Fixes #14211 : Fixed regression in Unique and Exist validators
7 years ago
Alexander Makarov
625d554e3a
Additional edge case for #14150
7 years ago
Alexander Makarov
8a087c8537
#14150 : Added {{ and }} to getTablesUsedInFrom() output
7 years ago
Alexander Makarov
b151b1cdb2
Fixes #14150
7 years ago
Carsten Brandt
5ed6910e1c
Added support for cloning a db connection
...
improved fix #14020
fixes #13890
https://github.com/yiisoft/yii2/pull/14020/files#r115185865
close #14121
7 years ago
Alexander Makarov
23cc4bf4fe
Further changes for unique and exist validators
...
- Combined methods for getting names and aliases of from tables
- Normalized names and aliases
- Added MSSQL syntax
- Added support for spaces in aliases and table names
7 years ago
Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
7 years ago
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
7 years ago
Alexander Makarov
8c30bab105
Eliminated else branches in beforeSave() and beforeDelete() phpdoc examples [skip ci]
8 years ago
SilverFire - Dmitry Naumenko
7a2737105b
Updated PHPdoc
8 years ago
SilverFire - Dmitry Naumenko
2d0e3fb9ef
Fixed Oracle SQL queries with `IN` condition and more than 1000 parameters
8 years ago
brandonkelly
e242e9b0ee
Fixes #14072 : clear table schema cache for all methods that affect cache
8 years ago
Dmitry Eliseev
d7fad8a555
Fixes #14059 : Removed unused AR instantiating for calling of static methods
8 years ago
Alexander Makarov
37fc6c5afb
Alternative names
8 years ago
Dmitry Naumenko
63253ceafc
PHPDocs and code style fixed
8 years ago
Alexander Makarov
7db93fc33d
Refactored solution to be contained within ActiveQuery instead of helper
8 years ago
Insolita
28d8fa66fc
Fixes #14012 : `yii\db\pgsql\Schema::findViewNames()` was skipping materialized views
8 years ago
PaulZi
224201950d
Fixes #13911 : Significantly enhanced MSSQL schema reading performance
8 years ago
Carsten Brandt
02ffbb28ec
update AR docs
8 years ago
Joel Small
cd8b98bb92
Added note to findOne and findAll docs ( #14002 ) [skip ci]
...
Added note to findOne and findAll docs to clearly state that complex conditions are not supported.
8 years ago
Sergey Makinen
454f0a9301
Fixes #13807 : Fixed `yii\db\QueryBuilder` to inherit subquery params when building a `INSERT INTO ... SELECT` query
8 years ago
Carsten Brandt
0fdd5b81dd
Revert "update phpdoc annotation in BaseActiveRecord"
...
This reverts commit 0f78008bc7
.
https://github.com/yiisoft/yii2-gii/pull/267#issuecomment-293965278
8 years ago
Carsten Brandt
0f78008bc7
update phpdoc annotation in BaseActiveRecord
...
https://github.com/yiisoft/yii2-gii/pull/267#issuecomment-293958830
8 years ago
Nikolay Oleynikov
e1b1622244
Fix `\yii\db\QueryInterface` type hints ( #13959 ) [skip ci]
8 years ago
Nikolay Oleynikov
11761ac42a
Fix `\yii\db\QueryTrait` type hints ( #13956 ) [skip ci]
8 years ago
Skiptir Engu
e62ea0136c
Fixed phpdoc broken links to PHP manual pages [skip ci]
8 years ago
Alexander Makarov
902c2b563d
Fixes #13831 : Added more info about transactions in migrations to phpdoc [skip ci]
8 years ago
Vladimir Reznichenko
6da1ec6fb2
Fixes #13845 : `mt_rand()` is not used instead of `rand()` in `yii\captcha\CaptchaAction` + minor code improvements
8 years ago
Artur Fursa
1b322f519f
Fixes #13776 : Fixed setting precision and scale for decimal columns in MSSQL
8 years ago
Bob Olde Hampsink
8192f84850
Fix SQLite resetSequence inconsistencies ( #13755 , #13630 )
8 years ago
gagatust
6397791513
Fixed whitespaces to match code style [skip ci]
8 years ago
Skiptir Engu
6a7c01de72
Fixed broken link
8 years ago
Sergey Makinen
a9fb0171f7
Fixes #13745 : `SQLSTATE[HY093]: Invalid parameter number: parameter was not defined` in MSSQL and bug fixes in `yii\db\QueryBuilder::buildLikeCondition()`
8 years ago
Carsten Brandt
7d4b33a805
changed method visibility
...
this should not belong to exposed interface as it is only used
internally by transaction() method.
additional change to #13346
8 years ago
Vladimir
55dd16f1f7
Fixes #12715 : Exception `SAVEPOINT LEVEL1 does not exist` instead of deadlock exception
8 years ago
Sergey Makinen
9a915ba10c
Fixes #8120 : Fixes LIKE special characters escaping for Cubrid/MSSQL/Oracle/SQLite in `yii\db\QueryBuilder`
8 years ago
Alex
6db6a2ddbe
Fixes #13418 : Fixed `QueryBuilder::batchInsert()` if $rows is `\Generator`
8 years ago
Alex-Code
13de76714b
Refactored `yii\db\Query::queryScalar()` method
8 years ago
Vladimir Reznichenko
a182ce57fc
Fixes for issues found with Static Code Analysis with Php Inspections (EA Extended) ( #13606 )
...
* Php Inspections (EA Extended): language level migration fixes
* Php Inspections (EA Extended): instanceof a trait always return false
* Php Inspections (EA Extended): fixed preg_quote (/ is not escaped by default)
* Php Inspections (EA Extended): fixed a greedy regex
* Php Inspections (EA Extended): refereted instanceof self in a trait
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): more greedy regexes fixed
8 years ago
Bob Olde Hampsink
0ea45c78a8
Fixes #13571 : Fix `yii\db\mssql\QueryBuilder::checkIntegrity` for all tables
8 years ago
Bob Olde Hampsink
30b7fc8dc1
Fixes #13577 : `yii\db\QueryBuilder::truncateTable` should work consistent over all databases
8 years ago
Bob Olde Hampsink
fab53b4a6e
Fixes #13582 : Added tests for all `yii\db\QueryBuilder::resetSequence` implementations, fixed SQLite implementation
8 years ago
Bob Olde Hampsink
56c65f6079
Fixes #13577 : Implemented `yii\db\mssql\QueryBuilder::resetSequence()`
8 years ago
Bob Olde Hampsink
aeb6231d92
Fixes #13582 : PK column in `yii\db\pgsql\resetSequence()` was not quoted properly
8 years ago