Alex

Results 30 comments of Alex

@Sannis, you're right :smile: https://gist.github.com/LAV45/468bb1e7928b88ea2ed37c4a6bb4986c

``` php // tests/framework/db/BatchQueryResultTest.php protected static $largeTableCount = 100000; protected static $largeTableInsertBatch = 100000; ``` ``` bash ~ $ dpkg -l | grep -E 'mysql|percona' ii libmysqlclient18:amd64 5.6.29-1~dotdeb+7.1 amd64 MySQL...

Retrieving related data lists. As an example `getCategoryList()` ``` php /** * @property integer $category_id * @property Category $category */ class Post extends ActiveRecord { public function rules() { return...

@armpogart https://github.com/yiisoft/yii2/pull/15772

In what situations can the use of dynamic relations be better than the static description of relations?

@samdark This is a crutch that is long overdue for removal. Take a look at the changes in tests/framework/data/ActiveDataProviderTest.php

https://github.com/sunrise-php/hydrator/tree/main?tab=readme-ov-file#array

Зависит от #12

Зависит от https://github.com/lav45/yii2-activity-logger/issues/7

Widget будет работать с моделью ActivityLog список с которых можно получить через связь Как пример можно посмотреть тут `test/models/User.php` ```php class User extends ActiveRecord { /** * @return \yii\db\ActiveQuery */...