1.3.6
This release adds some great improvements to the aggregate fields. The most notable change is that
you no longer need to specify 'field' for 'count' aggregation, it has been a thorn:
$this->hasMany('Invoices', new Invoice())->addField('invoice_count', ['aggregate'=>'count']);
Now the alternative syntax is available, where you can just define your expression explicitly:
$this->hasMany('Items', new Item())->addField('list', ['expr'=>'group_concat([name] separator "+")']);
Closed issues:
- Documentation atk4/data not meet atk/data-primer repository #328
Merged pull requests: