Conditional put

Open
#41 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws, ruby
Domain
databases

Research direction

Start by reviewing the aws-record API for put operations and DynamoDB conditional writes. Determine how a caller can ensure the item has not changed since it was read, then document or implement a supported approach and verify it against the requested read-modify-save scenario.

Written by the indexing model from the issue text.

Description

feature-request

Hi! Is there any way to do a conditional put request? The case when I get some data, change it by some operations and I want to save it back only if data in DynamoDB still the same when I get it.

Maybe you could give me an advice how to implement it with a few changes.

Dominant language
Ruby
Stars
318
Forks
44
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/aws-record-ruby

All issues in aws/aws-record-ruby

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.