Documentación/DynamoDB
Esta página aún no está traducida. Se muestra la versión en inglés. Ver en inglés
dbflux_driver_dynamodb
AWS DynamoDB driver for DBFlux, built on the aws-sdk-dynamodb SDK.
Features
- Managed NoSQL driver classified as
DatabaseCategory::Documentwith aQueryLanguage::Custom("DynamoDB")command envelope; the editor uses a DynamoDB-specific syntax, not SQL. - AWS connection configuration via region, named profile, and optional endpoint override (for DynamoDB Local or VPC endpoints).
deployment_classisCloudManaged. - Table discovery with
ListTablesandDescribeTable, mapping partition key (PK), sort key (SK), and Global/Local Secondary Index (GSI/LSI) key metadata into DBFlux schema abstractions. - Native command envelope execution for
scan,query,put,update, anddelete. The query generator emits scan-shaped preview envelopes and notes that execution may optimize toQuerywhen the filter matches the table key schema. - Read options for index targeting, consistent-read control, and a filter-translation fallback policy (server-side filter vs. client-side fallback; client filtering is rejected when the fallback policy is set to reject).
- WHERE operators in semantic filters:
Eq,Ne,Gt,Gte,Lt,Lte,In,NotIn, and logicalAnd/Or(see Limitations forNot). - Mutations: insert (
put), update, and delete (INSERT/UPDATE/DELETE). Batch writes support up to 25 items (max_insert_values: 25,supports_batch: true) with bounded retry for unprocessed batch-write items. - Single-item upsert support via a conditional update with a put fallback; the key map is resolved from either the filter or the update payload (partition key required, sort key required when the table defines one).
- Many-item update path (
updatewithmany=true) using a shared update expression. - Nested documents and arrays mapped into the document-tree view (
NESTED_DOCUMENTS,ARRAYS). - DDL: drop table (
supports_drop_table: true). - Pagination via page tokens (
PaginationStyle::PageToken).
Limitations
- Query cancellation is not supported; the driver returns
NotSupportedfor cancel requests. - The command envelope API does not expose PartiQL or DynamoDB transaction operations; transactions are disabled (
supports_transactions: false). - Single-item upsert is supported (
supports_upsert: true);updatewithmany=trueandupsert=truetogether is rejected (update_many_with_upsert). - Bulk update and bulk delete are not supported (
supports_bulk_update: false,supports_bulk_delete: false), andRETURNINGis not supported. - Semantic filters do not support
NOTexpressions or operators outside the supported set; unsupported operators returnNotSupported. - No SSL form (TLS is handled by the AWS SDK transport), no schemas, and no DDL beyond drop-table (no create/alter table, no index creation).
- Aggregate requests are not supported by the semantic planner.
- Collection browsing in the core request layer remains offset-based, while the underlying API is page-token based.