data
data copied to clipboard
Data Access PHP Framework for SQL & high-latency databases
let's have 2 models A and B and no condition is specific on any model A has many B when B record has an foreign key not available in A,...
needs https://github.com/phpstan/phpstan/issues/7344 (implemented) needs https://github.com/phpstan/phpstan/issues/7385 - https://phpstan.org/developing-extensions/type-specifying-extensions should be the workhorse needs https://github.com/phpstan/phpstan/discussions/7386 (solution found) TODO check if https://github.com/phpstan/phpstan-src/pull/2609/files can help
`HasOneSql::addTitle` can now infinitely recurse if the reference model is not a seed, see `RandomTest::Model_Item3()` for how to fix it. TODO model instance should be supported, needs better comparison
we should be able to pull data from REST APIs. Add a reference implementaiton.
Hi there, as I am using lots of MToM relations in my project, I thought a bit about a native atk4\data MToM implementation. Ok, first lets get a good example:...
Persitence/Array_ is not aware of Model->only_fields property. $only_fields property is not implemented in Persistence/Array_ at all.
If the doc can not be kept up-to-date, it is useless and should be reduced/removed or self-generated from the actual code - and I prefer it. I personally use PHP...
Lazy Fields and Lazy Joins are those optional fields that will not be loaded unless requested. The logic should be like this: - without onlyFields() - load all fields except...
Documentation implies, that when you traverse across persistences, the implied list of IDs will be passed instead of sub-query. http://agile-data.readthedocs.io/en/develop/references.html#persistence needs https://github.com/atk4/data/issues/682