Skip to content

Add UpdateItem / partial attribute updates to Database service #58

Description

@NitinKumar004

Summary

The Database driver interface is missing UpdateItem (partial attribute update) — one of the most frequently used operations in DynamoDB/CosmosDB/Firestore.

Currently, the only way to modify an item is to PutItem with the full document, which overwrites everything. Real applications almost always use partial updates.

What's Missing

  • AWS DynamoDB: UpdateItem with UpdateExpression (SET, REMOVE, ADD, DELETE)
  • Azure CosmosDB: Partial document update / patch operations
  • GCP Firestore: Update with field masks / merge writes

Why This Matters

Acceptance Criteria

  • Add UpdateItem to database/driver/driver.go interface
  • Implement in providers/aws/dynamodb/
  • Implement in providers/azure/cosmosdb/
  • Implement in providers/gcp/firestore/
  • Support SET (add/overwrite attributes) and REMOVE (delete attributes) expressions
  • Add tests covering all 3 providers

Metadata

Metadata

Assignees

No one assigned

    Labels

    awsAmazon Web ServicesazureMicrosoft AzureenhancementNew feature or requestgcpGoogle Cloud Platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions