David Buchmann

Results 944 comments of David Buchmann

can php array keys be anything else than strings? if not, that should actually be doable. i think we would need to find a better name, as we already have...

Only odm, the phpcr spec is linked to jcr. And its not a basic thing, its just syntactic sugar to automatically store data without objects. ----- Reply message ----- Von:...

we could add another thing like assoc, calling it `nested` and then it would persist differently, but its still an attribute field and not a children mapping in phpcr-odm terms.

yeah you are right, a field like @Array resp @Field(type=array) sounds good. afaik we call the other thing multivalue, and multivalue is just that, while array maps to phpcr nodes.

if we don't specify it, the types will be autodetermined by phpcr and come back in the right type on loading (string / integer / float / boolean)

uh, i think indeed in phpcr setting something to null means removing it. so your problem was that the keys get shifted because values disapear when reloading the property? maybe...

@dantleech the type of a property is stored in the property itself (the type is just there to enforce what type a property may have). i think uwe was talking...

@dantleech look at an export in the system view, you will see the type. the types of properties are a limited set, there are no custom types and there is...

i can't store null values. what i get is ``` [PHPCR\ValueFormatException] Can not determine type of property with value "NULL" ``` not an extremly helpful message, but at least it...

you mean the validation? that would be nice. for the original topic of nested associative arrays, i am -1 as this is a totally new thing with quite some effort...