28 Commits

Author SHA1 Message Date
52e4a3e645 release version 2.0.50 2024-05-30 20:23:31 +03:00
e2a167028b Upgrade to PSR12 coding standard (#20121) 2024-03-19 17:21:27 +03:00
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
4628b91e73 Fix types (#19332)
* Migration::upsert() returns void

* Unneeded `@property` tags

* Add missing `null` param/return types

* Null types for db\Query + db\ActiveQuery

* Fixed testSelect
2022-03-30 18:40:10 +02:00
1271bc419f Fix #19041: Fix PHP 8.1 issues 2022-01-14 13:52:01 +03:00
552593ca3b Prepare for new apidoc (part 2) (#19010)
* Fix broken links for events with different namespace
* Fix broken links in see tag
* Fix broken links in see tag (loadData())
* Fix broken link for var_export()
* Fix broken link for CVE
* Remove redundant markdown link wrap in see tags
* Remove see tags that refer to private properties
* Remove more see tags that refer to private properties
* Remove see tags that refer to private methods
* Remove one more redundant markdown link wrap in see tag [skip ci]
* Fix typo in see tag (causes broken link)
* Remove more see tags that refer to private methods
2021-11-18 10:10:09 +03:00
30e99a7a66 Fix #18457: Add EVENT_RESET and EVENT_FINISH events to yii\db\BatchQueryResult 2021-01-11 14:45:47 +03:00
9abccb96d7 Merge pull request from GHSA-699q-wcff-g9mj
* Fix unsafe unserialize()

* Add changelog and comments on why unserialize() is disabled

* Add since tag
2020-09-15 00:15:51 +03:00
97499315a4 Fix #17539: Fixed error when using batch() with indexBy() with MSSQL 2019-09-10 20:55:58 +03:00
4b768a86f5 Fix #17486: Fixed error when using batch() without $db parameter with MSSQL 2019-08-01 13:17:31 +03:00
4d02666b9e release version 2.0.23 2019-07-16 22:44:09 +03:00
a7335bfabf Fix phpdoc for BatchQueryResult::$mssqlNoMoreRowsErrorCode [skip ci] 2019-07-16 22:38:18 +03:00
0e1f22ae6a Verifying error code instead of message. (#17438) 2019-07-16 20:40:19 +03:00
a26f8f6ed2 Added since tag 2019-07-15 23:00:10 +03:00
4bee9a4ed9 #10023. Fix codeclimate issue 2019-07-15 14:49:11 +03:00
25cf331839 Closes #10023. Fix MSSQL "There are no more rows" exception when using each() and batch() 2019-07-15 13:54:33 +03:00
00afe6a4b8 Fix: Query::each() without indexBy() zero based keys 2018-01-16 17:13:19 +02:00
69673c0c94 Rename Object -> BaseObject for PHP 7.2 compatibility
issue #7936
2017-07-19 10:51:46 +02:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
f68e970de2 link to PHP classes just as we do with normal classes
apidoc can handle this!
2015-06-05 21:53:24 +02:00
b9c97ff2aa Fixes #4938: When yii\db\ActiveQuery is used to build sub-queries, its WHERE clause is not correctly generated 2014-09-12 16:46:12 -04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
993963bb94 reset batch query result when rewinding. 2014-03-05 09:00:32 -05:00
9a068f50f4 Refactored batch query. 2014-02-15 11:22:48 -05:00
3a930bd675 Finished batch query feature. 2014-02-14 18:13:42 -05:00
1571c72251 Fixes #2409: Added support for fetching data from database in batches 2014-02-14 16:45:46 -05:00