Wraith. Store. Dynamo
(Wraith v0.1.0)
View Source
Wraith.Store on DynamoDB (ex_aws over Req). One table, keys pk/sk,
one GSI gsi1 on gsi1pk/gsi1sk, on-demand capacity.
config :wraith, Wraith.Store.Dynamo, table: "wraith"; credentials and
endpoint come from :ex_aws (see config/runtime.exs, DYNAMO_ENDPOINT
for DynamoDB Local). ensure_table!/0 creates the table when it is
missing (mix wraith.table).
Summary
Functions
Create the table (on-demand, with gsi1) unless it exists. Blocks until ACTIVE.