Tynamo
Create tynamo connection
Define the connection of dynamodb.
const tynamo: Tynamo = new Tynamo({
region: "ap-northeast-2",
endpoint: "http://localhost:8000"
});
Create tynamo table
Define one table inside dynamodb. Manipulate tables or data through this object.
@DynamoEntity()
class Entity {
...
}
const tynamo: Tynamo = new Tynamo({...})
const entityTable: TynamoTable<Entity> = tynamo.getTableOf(Entity);
Last updated
Was this helpful?