KeyValueStore
KeyValueStore copied to clipboard
Abstraction for Key-Value to Plain Old PHP Object mapping
Currently PHP dependency is locked in composer.json to ^5.5|^7.0 which is outdated
**Version:** v0.4.0 **Error:** > array_combine(): Both parameters should have an equal number of elements > > /app/vendor/doctrine/key-value-store/lib/Doctrine/KeyValueStore/Storage/DynamoDbStorage.php:116 > /app/vendor/doctrine/key-value-store/lib/Doctrine/KeyValueStore/Storage/DynamoDbStorage.php:136 > /app/vendor/doctrine/key-value-store/lib/Doctrine/KeyValueStore/UnitOfWork.php:255 > /app/vendor/doctrine/key-value-store/lib/Doctrine/KeyValueStore/UnitOfWork.php:280 > /app/vendor/doctrine/key-value-store/lib/Doctrine/KeyValueStore/EntityManager.php:115 > **Table format:** ```php $params...
I want to create a Repository class for my entity that uses KeyValueStore. I saw that there is an EntityManager, but i didn't see anything related to Doctrine\Common\Persistence\ManagerRegistry which is...
Implementation of `\Doctrine\KeyValueStore\Storage\ArrayStorage::find()` has been copy-pasted from `delete()` including the unset logic instead of replacing it with return.
Looks like the find() method is a copy of the delete() method. It unsets the key rather than returning it. https://github.com/doctrine/KeyValueStore/blob/master/lib/Doctrine/KeyValueStore/Storage/ArrayStorage.php#L124 `public function find($storageName, $key) { if (!isset($this->data[$storageName])) { throw...
Check this https://github.com/aws/aws-sdk-php/commit/a9492c84f67039006df077745b4fffce3f8b2a06.
because of get_object_vars() usage of __set/__get might break entities.
Column stores such as Cassandra and Azure allow to store arbitrary columns for one record. We can support that use case with a `@FieldMap` annotation on an array property in...
Closes https://github.com/doctrine/KeyValueStore/issues/63 I'm not fully sure about the method output because it isn't based on a RFC nor a standard, but this could be done in the v2.
With this structure every exception thrown by the key value store is marked with a specific interface. Use case: ``` php try { // extract values from a DBAL storage...