mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
Adds PartiQL support for DynamoDB via a hand-rolled tokenizer and
recursive-descent parser that translates SELECT, INSERT, UPDATE, and
DELETE statements into existing DynamoDbService calls.
- DynamoDbPartiQLParser: tokenizer + AST (sealed interfaces) with
positional ? placeholder resolution from Parameters array
- DynamoDbPartiQLHandler: translates AST to GetItem/Query, PutItem,
UpdateItem, DeleteItem; always uses ExpressionAttributeNames to avoid
reserved-keyword conflicts; routes pk-only WHERE to Query (not GetItem)
when the table has a composite key
- DynamoDbJsonHandler: wires ExecuteStatement, ExecuteTransaction, and
BatchExecuteStatement; BatchExecuteStatement captures per-statement
errors without aborting the batch
- DynamoDbPartiQLTest: 13 compatibility tests covering INSERT, SELECT
(pk-only, range, projection, begins_with, ? placeholders), UPDATE
SET/REMOVE, DELETE, ExecuteTransaction, and BatchExecuteStatement