Access the same Entity via various attributes in DynamoDB
0
votes
0
answers
33
views
I'll begin by saying I am new to DynamoDB and the world of NoSQL in general. I have a
I'm still in the data modelling phase, so I can ditch that make as many changes as I want.
patient
entity and I am storing it in a DynamoDB table.
My access patterns for the patient
entity are:
1. Get patient by id
2. Get patient by first name
3. Get patient by last name
4. Get patient by date of birth
5. Get patient by post code
How can I achieve this with my DynamoDB table? Right now, the basic model I've put together is:

Asked by J86
(331 rep)
Oct 24, 2022, 04:19 PM