atk4/data
ATK Data is a PHP data model abstraction that separates business logic from UI and persistence. Works with SQL/NoSQL/APIs, supports relations, expressions, aggregation, and user actions with ACL metadata—integrates easily with ATK UI and ATK API.
bigint DBAL type for ID fields by default (#1223) @mvorisekMigrator::introspectTableToModel() method (#1218) @mvorisekScope::$shortName cannot be unset to null (#1156) @mvorisekModel::tryLoad returns null when not found (#996) @mvorisekModel\AggregateModel model (#817) @georgehristovFC for NS case update II.
FC for NS case update
Fix versioning
Fix dependencies and versioning
Make some preparations to help you transition to 2.1 (#610)
fields===true value (#531) @DarkSide666Fixed bugs:
Closed issues:
Merged pull requests:
Persistence_Array.Fixed bugs:
Merged pull requests:
Minor release. Calling addCondition('age', '>', 30) will no longer mark field age as system.
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:
Merged pull requests:
Fixed bugs:
Closed issues:
Merged pull requests:
Implemented enhancements:
Closed issues:
Merged pull requests:
Closed issues:
Merged pull requests:
Add support for Oracle and PostgreSQL, adding support for sequences and migrate to ATK Data 1.2.x
Fixed bugs:
Closed issues:
Merged pull requests:
This version focuses on enabling you to define your own Field classes, such as more advanced Password handling field. See example: https://github.com/atk4/login/blob/master/src/Field/Password.php
Introduced new way to verify field values with $model->compare('age', 20); which returs boolean. Also
in addition to enum property, you can use values property with a field now.
Rewrote Overview section of documentation and added new information on Fields and Static Persistence.
Persistence_Static #265$field->values property #266Field->compare() and Model->compare()Field\Password from https://github.com/atk4/login) #259Field class to be loaded from SQL #269How can I help you explore Laravel packages today?