mirror of
https://github.com/doctrine/KeyValueStore.git
synced 2026-03-24 08:42:12 +01:00
[PR #49] [MERGED] Implementation for Amazon DynamoDB #75
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/KeyValueStore/pull/49
Author: @nicktacular
Created: 10/22/2015
Status: ✅ Merged
Merged: 7/5/2016
Merged by: @EmanueleMinotto
Base:
master← Head:dynamodb📝 Commits (10+)
518f421Implementation for Amazon DynamoDBef42557Whitespace; useless comment84d5db7Cleaner options; php 5.4 compat902da8fMoved AWS to require-dev58f98f8Removed unnecessary not empty checkf61ce21Members downgraded to private79bee99Exception refactoringcc3e478Accessor level refactors7877050Comment cleanupse0878caConverted keys to consts📊 Changes
6 files changed (+656 additions, -3 deletions)
View changed files
📝
README.md(+1 -1)📝
composer.json(+3 -2)➕
lib/Doctrine/KeyValueStore/InvalidArgumentException.php(+48 -0)📝
lib/Doctrine/KeyValueStore/NotFoundException.php(+4 -0)➕
lib/Doctrine/KeyValueStore/Storage/AmazonDynamoDbStorage.php(+294 -0)➕
tests/Doctrine/Tests/KeyValueStore/Storage/AmazonDynamoDbTest.php(+306 -0)📄 Description
Added an implementation for Amazon DynamoDB. Using the
$optionskey to the constructor, you can set which$storageNameuses which key name for access. For example, if your key-val store calledAwesomeuses a key calledMyKeythen you can set it like so:Otherwise, the option
default_key_namewhich defaults toIdwill be used as the key name.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.