flesh out the query stuff

This commit is contained in:
2026-02-15 15:04:43 -05:00
parent 94296ae925
commit 7a2f26b75d
5 changed files with 917 additions and 23 deletions

12
TODO.md
View File

@@ -39,20 +39,18 @@ This tracks the rewrite from Zig to Odin and remaining features.
- scan, query with pagination
- Table-level RW locks
- [ ] **dynamodb/handler.odin** - HTTP request handlers
- Route X-Amz-Target to handler functions
- handle_create_table, handle_put_item, etc.
- Build responses with proper error handling
- Arena allocator integration
### HTTP Server
- [ ] **HTTP server implementation**
- [x] **HTTP server implementation (MOSTLY DONE CONSOLIDATED HANDLER INTO MAIN AND HTTO FILES. NO NEED FOR A STAND ALONE HANDLER LIKE WE DID IN ZIG! JUST PLEASE GO OVER WHAT IS THERE!!!)**
- Accept TCP connections
- Parse HTTP POST requests
- Read JSON bodies
- Send HTTP responses with headers
- Keep-alive support
- Route X-Amz-Target functions (this was the handler in zig but no need for that crap in odin land)
- handle_create_table, handle_put_item, etc. (this was the handler in zig but no need for that crap in odin land)
- Build responses with proper error handling (this was the handler in zig but no need for that crap in odin land)
- Arena allocator integration
- Options (Why we haven't checked this off yet, we need to make sure we chose the right option as the project grows, might make more sense to impliment different option):
- Use `core:net` directly
- Use C FFI with libmicrohttpd