Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 508 Bytes

DataModel.md

File metadata and controls

19 lines (10 loc) · 508 Bytes

Dialogue V2 Data Model

Base Table

Base Table

Access Pattern

  1. Get user details by Username

    GetItem on Base Table with Partition Key PK = USER#<username> and Sort Key SK = PROFILE#<username>

  2. Get list of conversations the user is part of.

    Query on Base Table with Partition Key PK = USER#<username> and Sort Key SK = starts_with(CONVERSATION#)

  3. Get list of conversation sorted by their latest.