AshDynamo.DataLayer
View SourceA DynamoDB data layer for Ash, backed by ExAws.Dynamo.
DSL Documentation
dynamodb
Configure the DynamoDB table backing this resource for querying.
Examples:
dynamodb do
table "users"
partition_key :email
sort_key :inserted_at
endOptions
| Name | Type | Default | Docs |
|---|---|---|---|
table | String.t | Table name to read from/write to. Defaults to the underscored resource name. | |
partition_key | atom | Required partition (hash) key attribute name. | |
sort_key | atom | nil | Optional sort (range) key attribute name. |