Zum Inhalt springen
Deutsch

DynamoDbTableSchema

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

DynamoDbTableSchema = object

Defined in: src/persistence/journals/DynamoDbStore.ts:9

A table’s key schema, in the shape CreateTable wants.

readonly partitionKey: string

Defined in: src/persistence/journals/DynamoDbStore.ts:12

Partition key — always the persistence id in these stores.


readonly optional sortKey?: object

Defined in: src/persistence/journals/DynamoDbStore.ts:14

Sort key, for the tables that hold many items per persistence id.

readonly name: string

readonly type: "N" | "S"


readonly tableName: string

Defined in: src/persistence/journals/DynamoDbStore.ts:10