Skip to content

feat: implement UpdateItem operation and support for TransactWriteItems #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link

Implement UpdateItem operation and support for TransactWriteItems

Fixes #21

Changes

  • Implemented UpdateItem operation to update specified fields on a DynamoDB record
  • Added support for update options including:
    • WithConditionalUpdate for update conditions
    • WithOptimisticLockForUpdate for optimistic locking via version attribute
    • WithReturnValues for specifying what values to return
  • Added WithUpdateItem support for TransactWriteItems
  • Added comprehensive tests for new functionality

Testing

  • Added unit tests for UpdateItem operation
  • Added unit tests for optimistic locking with concurrent updates
  • Added unit tests for TransactWithUpdateItem

All tests pass locally.

Link to Devin run: https://app.devin.ai/sessions/ceec6c9181054046adbc6954230d1200
Requested by: shidil.e@oolio.com

 #21)

Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
@devin-ai-integration devin-ai-integration bot changed the title Implement UpdateItem operation and support for TransactWriteItems feat: implement UpdateItem operation and support for TransactWriteItems May 7, 2025
devin-ai-integration bot and others added 2 commits May 7, 2025 02:48
Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
devin-ai-integration bot and others added 2 commits May 7, 2025 03:27
Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
devin-ai-integration bot and others added 4 commits May 7, 2025 07:11
…st suite

Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
Co-Authored-By: shidil.e@oolio.com <shidil@live.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement UpdateItem operation and support for TransactWriteItems
1 participant