Jump to: navigation, search

Difference between revisions of "MagnetoDB/specs/all old for put item"

("ALL_OLD" return value for "put_item" method)
("ALL_OLD" return value for "put_item" method)
Line 3: Line 3:
 
Launchpad: [https://blueprints.launchpad.net/magnetodb/+spec/all-old-for-put-item]
 
Launchpad: [https://blueprints.launchpad.net/magnetodb/+spec/all-old-for-put-item]
  
According to DynamoDB API we must have an ability to pass "return_value": "ALL_OLD"
+
While using "put_item" request we do not have any information about presence of
in put_item request to retrieve an old item before replacement
+
item with same key as we put.
 +
According to DynamoDB API we must have an ability to pass "ReturnValue": "ALL_OLD"
 +
in put_item request, so replaced item will be returned in response.
  
 
=== Specification status ===
 
=== Specification status ===

Revision as of 14:59, 12 September 2014

"ALL_OLD" return value for "put_item" method

Launchpad: [1]

While using "put_item" request we do not have any information about presence of item with same key as we put. According to DynamoDB API we must have an ability to pass "ReturnValue": "ALL_OLD" in put_item request, so replaced item will be returned in response.

Specification status

Draft

Problem Description

Feature is absent in MagnetoDB

Proposed Change

None

Alternatives

None

Security Impact

None

Notifications Impact

None

Other End User Impact

None

Performance Impact

Feature will not make performance impact to ordinary put_item request

Other Deployer Impact

None

Developer Impact

None

Implementation

None

Assignee(s)

Primary assignee: aostapenko

Other contributors: None

Work Items

None

Dependencies

None

Documentation Impact

None

References

http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html#DDB-PutItem-request-ReturnValues