Skip to content

Add UPDATE statement support #46

@aviralgarg05

Description

@aviralgarg05

Description

Implement support for SQL UPDATE statements to allow users to modify existing rows in tables.

Proposed Solution

  • Add UPDATE table_name SET column = value WHERE condition parsing
  • Support multiple column updates in a single statement
  • Implement update execution logic with WHERE clause filtering
  • Add type checking for updated values

Acceptance Criteria

  • Parse UPDATE statements correctly
  • Support SET clause with multiple columns
  • Execute update operations with WHERE clause support
  • Add unit tests for update functionality
  • Update documentation with examples

Technical Notes

  • Reuse existing WHERE clause evaluation from expression.rs
  • Ensure atomic updates in sled storage
  • Handle type mismatches gracefully with clear error messages

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions